[R] Attaching marginal summary plots to the main matrix plot

About this list Date view Thread view Subject view Author view Attachment view

From: Adaikalavan Ramasamy (ramasamy@stats.ox.ac.uk)
Date: Mon 12 Aug 2002 - 19:27:26 EST


Message-id: <00e401c241e2$78d2f220$a71401a3@stats.ox.ac.uk>

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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jun 2004 - 09:31:05 EST