[R] paneling spplot and hist

Debasish Pai Mazumder pai1981 at gmail.com
Mon Dec 14 20:20:31 CET 2015

Hi all,

I am new in R. I am trying to panel spplot and hist.

spplot(hspdf, "CDP", col = "white", col.regions = blue2red(20), sp.layout =
list(l2), at = seq(1,10,1), colorkey = list(space = "bottom", labels =
list(labels = paste(seq(1,10,1)), cex = 1.5)), sub = list("CDP", cex = 1.5,
font = 2))

hist(cdp.obsc, col="grey", border="grey", main="CDP", probability=T)
lines(c.breaks, obs.cdp.d, col="blue")
lines(c.breaks, obs.cdp.e, col="red")

I have tried with par(mfrow=c(2,1))and layout(matrix...., both don't work.

Any advice?

with regards

	[[alternative HTML version deleted]]

More information about the R-help mailing list