Skip to content

Instantly share code, notes, and snippets.

@elinw
Created May 10, 2017 22:19
Show Gist options
  • 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