Advertisement
otorp2

rstudio as.factor

Jul 8th, 2017
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. LungCapData$fGender <- as.factor(LungCapData$Gender)
  2. plot(LungCapData$Age,LungCapData$LungCap,col = LungCapData$fGender)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement