Jose Borreguero wrote: > Hi all, > I am extremely newbie to R. Can anybody jump-start me with any clues as to > how do I get a cumulative histogram from two independent variables, > cumhist(X,Y) ? > -jose > Hi Jose,
Is this something like you want? var1<-sample(1:10,100,TRUE) var2<-sample(1:10,100,TRUE) barplot(rbind(hist(var1,plot=FALSE)$counts,hist(var2,plot=FALSE)$counts)) Jim ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.