Change the class type of the class variable of the titanic_train dataset to factor.
Find the sum of the missing variables in the titanic_train dataset.
Find the position of each missing variable in the titanic_train dataset.
Using R Studio, provide the command used to get the output for these questions.