[R] Newbie Correspondence Analysis Question

Ista Zahn izahn at psych.rochester.edu
Sun Sep 26 19:09:02 CEST 2010


Hi Vik,
You need to load the CA package first:

library(CA)

-Ista

On Sun, Sep 26, 2010 at 4:41 PM, Vik Rubenfeld <vikr at mindspring.com> wrote:
> I'm experienced in statistics, but I am a first-time R user.  I would like to use R for correspondence analysis.  I have installed R (Mac OSX). I have used the package installer to install the CA package.  I have run the following line with no errors to read in the data for a table:
>
>        NonLuxury <- read.table("/Users/myUserName/Desktop/nonLuxury.data.txt")
>
> The R online help appears to suggest that the following line should come next:
>
>        > corresp(NonLuxury)
>
> However, I get the error message:
>
>        Error: could not find function "corresp"
>
> The CA manual appears to suggest that the following line should come next:
>
>        > ca(NonLuxury)
>
> Again, I get the error message:
>
>        Error: could not find function "ca"
>
> What am I missing? Thanks very much in advance to all for any info.
>
>
> -Vik
> ______________________________________________
> 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.
>



-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org



More information about the R-help mailing list