I looked at the other posted questions regarding this issue but was not successful to make my code work.
Here is my code:
library(titanic) library(ca