[R] Attaching marginal summary plots to the main matrix plot
Adaikalavan Ramasamy
ramasamy at stats.ox.ac.uk
Mon Aug 12 11:27:26 CEST 2002
Dear helplist, I am trying to visualise a datamatrix together with its
marginal densities.
Suppose dat <- matrix( rnorm(1000), nrow=25 )
I can the main visual plot using image, levelplot etc. But how do I attach
the plots for rows sums and column sums to the top/bottom and right hand
side of the original plot ?
The only way I can think of is by using par(mfrow=c(2,2)) command but the
result is not desirable. Is there are useful command(or website advising
how) to do this ? If succesful I am thinking of affixing the boxplots by row
and columns as well. I have gone through the lattice help but am still
confused. Thank you.
-Adai
PS: I am resending this as I haven't received a reply.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list