Online R Compiler

x1<-sample(c(LETTERS[1:4]),20,replace=TRUE) y1<-rnorm(20,5,1) df1<-data.frame(x1,y1) df1