I am doing a problem of classification using random forest but when I create the model of random forest it gives me error which says missing value in object.
head of train data
Error in na.fail.default(list(
as.factor(Survived)= c(1L, 2L, 2L, 2L, :
missing values in object