Trevor Stephens R tutorial using the Titanic data set from the Kaggle competitions