R 101: Module 2, Question 3
Both:
data.frame("student"=c("John","Mary"),"id"=c(1,2))
AND
data.frame(student=c("John","Mary"),id=c(1,2))
give the desired result
1
vote
SoIllEconomist
shared this idea