Skip to content

Instantly share code, notes, and snippets.

@mickeypash
Created October 18, 2012 08:51
Show Gist options
  • Select an option

  • Save mickeypash/3910531 to your computer and use it in GitHub Desktop.

Select an option

Save mickeypash/3910531 to your computer and use it in GitHub Desktop.
How to do the data frame
x <- data.frame(SubjID=1:20
Student=factor(rep(c("Freshmen","Sophomores"
"Junior","Seniors"),each=5)),
Y=c(32,30,28,30,25,27,27,30,30,21,27,22,23,23,25,22,20,22,23,13))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment