[R] Customizing a Plot in Correspondence Analysis

Salvador Ramirez sram at bosque.udec.cl
Fri Jun 15 02:32:35 CEST 2012


Hello,

Using the Correspondence Analysis package (ca), I wonder if there is a way
to further customize the plot beyond the options given in plot.ca provided
by the mentioned package.

The correspondence analysis I am doing consists of two datasets sharing
only the rows, so the plot draw the total of columns (from both datasets)
in the graph and the rows as expected. However, as in my case the number
of columns in one dataset is huge, I would like to omit those points and
labels in the plot. The list of parameters of plot.ca does not allow me to
do this so I wonder if there is a way to force this in R.

An example to see what I want is the following:

library(ca)
data(author)
plot(ca(author), arrows=c(FALSE,TRUE))

The object "author" is composed of two datasets, I would like to omit the
points corresponding to columns from a-m, while still maintaining the
points in the second datasets, i.e. columns from n-z.

Any help is more than appreciated.

Best regards,

---sram



More information about the R-help mailing list