[R] [ca package] access to any x/y in mjca function

From: popiel <procesorabc_at_poczta.onet.pl>
Date: Mon, 10 Mar 2008 01:04:52 -0700 (PDT)

Hi,

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:



anydata.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

library(lattice)
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(anydata.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.

Thanks,
P

-- 
View this message in context: http://www.nabble.com/-ca-package--access-to-any-x-y-in-mjca-function-tp15945194p15945194.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 10 Mar 2008 - 08:07:56 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 Mon 10 Mar 2008 - 09:30:21 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