Online R Compiler

x1<-sample(c(NA,rpois(4,5)),20,replace=TRUE) x2<-sample(c(NA,rpois(4,5)),20,replace=TRUE) df1<-data.frame(x1,x2) df1