Skip to content

Instantly share code, notes, and snippets.

@bfoste01
Created June 1, 2015 18:59
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 bfoste01/bfa7bef5773bc5065fee to your computer and use it in GitHub Desktop.
Save bfoste01/bfa7bef5773bc5065fee to your computer and use it in GitHub Desktop.
For creating value labels
rise$PEduc <- factor(rise$PEduc, levels = c(1:7), labels = c("No Formal Schooling", "Some Elementary School",
"Completed Elementary School", "Some Middle and High School", "Competed High School Diploma or GED",
"Some College", "Completed 4-Year Degree or Higher"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment