inst/example/student2.R

#variable definition
	id <- seq(1,6)
	age <- c(30,32,28,39,20,25)
	edu <- rep(0,6)
	class<-factor(rep(c("poor","middle"),each=3))
	
	
#QUESTION #2 IndianMothers dataframe

IndianMothers <-data.frame(id,age,edu,class)

Try the compare package in your browser

Any scripts or data that you put into this service are public.

compare documentation built on May 2, 2019, 10:24 a.m.