Hi All,

Can anyone please tell me what is the meaning of four coordinates in below
print statement. Currently its dividing plotting window into 1 X 2 and I
want to change it to 2 X 2 [ equivalent of par(mfrow=c(2,2)) ]. Thanks,

require(lattice)
p1=barchart(yield ~ variety | site, data = barley,

        groups = year, layout = c(1,6),
        ylab = "Barley Yield (bushels/acre)",
        scales = list(x = list(abbreviate = TRUE,
                      minlength = 5)))

p2=barchart(yield ~ variety | site, data = barley,

        groups = year, layout = c(1,6), stack = TRUE,
        ylab = "",
        scales = list(x = list(rot = 45)))

print(p1, split=c(1,1,2,1), more=TRUE)
print(p2, split=c(2,1,2,1))

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.

Reply via email to