search for: y2hist

Displaying 1 result from an estimated 1 matches for "y2hist".

Did you mean: y1hist
2006 Sep 28
3
complex plots using layout()
...Could I repeat layout() to reach my point? Following is the code I use. Any advice is greatly appreciated. ================================================================= x <- demog$age y1 <- demog$mji y2 <- demog$nles xhist <- hist(x, plot=FALSE) y1hist <- hist(y1, plot=FALSE) y2hist <- hist(y2, plot=FALSE) top1 <- max(c(xhist$counts, y1hist$counts)) top2 <- max(c(xhist$counts, y2hist$counts)) xrange <- range(x,na.rm=TRUE) y1range <- range(y1,na.rm=TRUE) y2range <- range(y2,na.rm=TRUE) def.par <- par(no.readonly = TRUE) par(mfrow=c(2,2)) nf <- layo...