Displaying 1 result from an estimated 1 matches for "y1hist".
Did you mean:
hist
2006 Sep 28
3
complex plots using layout()
...ead of
layout(). It does not work. 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...