[R] Help partimat()

David Winsemius dwinsemius at comcast.net
Fri Mar 29 02:15:15 CET 2013


On Mar 28, 2013, at 1:45 PM, Antelmo Aguilar wrote:

> Hello Everyone,
> 
> I was wondering if anyone knows a solution to a problem I am experiencing.  I have an R script that creates multiple graphs of the data in several data file using the partimat() function that is located in the klaR library.  I would like to get this graphs into a single image similar to the way one can use the par() function and then the plot() function to put multiple plots side by side.  The problem is that the par() function does not work with partimat() so I was wondering if there is an equivalent way of achieving the same result when using partimat().  I have searched for several hours already and I have not been able to find a solution.  I would greatly appreciate any help.  Attached is the script as well as the end result I would like to get after running the script.

What happens is that inside the partimat.default function this line appears:

opar <- par(mfrow = c(nvar, nvar), mar = mar, oma = rep(3, 
            4), xpd = NA)

So the graphics setup is being driven by the structure of the data that is being given (which you have not described.)

-- 

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list