[R] [ca package] how to extract x,y from mjca function

From: popiel <procesorabc_at_poczta.onet.pl>
Date: Sun, 09 Mar 2008 12:15:26 -0700 (PDT)


I would like to extract x,y from mjca function in ca package to be able to draw other graph types.

For example for simple mca function from MASS I can do the following:

mydata.mca <- mca(anydata, nf = 2, abbrev = TRUE)

x <- anydata.mca$rs[,1] #that is what I can 'extract' y <- anydata.mca$rs[,2]

plot(anydata.mca) #standard plot

xyplot(x~y) # I can draw this as well apart from plot or export x,y.

With ca package and mjca function I have tried so far with every variable but without succes - anyone can help me? Maybe its simply impossible.

anydata.mjca <- mjca(anydata, lambda = "JCA")

#x <- anydata.mjca ??? how to get here...
#y <- anydata.mjca ???

plot(mydata.mjca, mass = TRUE, contrib = "absolute", map = "rowgreen", arrows = c(FALSE, TRUE))

And I want any configuration of x/y from this plot or any other map/plot type.


View this message in context: http://www.nabble.com/-ca-package--how-to-extract-x%2Cy-from-mjca-function-tp15945165p15945165.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sun 09 Mar 2008 - 19:29:08 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 09 Mar 2008 - 19:30:26 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive