Skip to content

Instantly share code, notes, and snippets.

@elinw
Created May 10, 2017 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elinw/db098360c6f996fd51f057debd9a92c0 to your computer and use it in GitHub Desktop.
Save elinw/db098360c6f996fd51f057debd9a92c0 to your computer and use it in GitHub Desktop.
RMS_Titanic$Survival<- factor(RMS_Titanic$Survival, levels = c("0","1"), labels = c("Died", "Survived"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment