[R] PCA - princomp can only be used with more units than variables

Joshua Wiley jwiley.psych at gmail.com
Mon Jul 18 19:07:33 CEST 2011


Hi,

You need to explain what you want to do.  This is not a software
issue, you simply cannot create more uncorrelated variables than you
have observations.

Josh

On Mon, Jul 18, 2011 at 8:53 AM, a.mewes at yahoo.co.uk
<a.mewes at yahoo.co.uk> wrote:
> Hi,
>
> May I ask a question about a thread
> https://stat.ethz.ch/pipermail/r-help/2005-March/068365.html?
>
> I understand I need to use prcomp instead of princomp when i have less
> units than variables.
>
> However, when I use prcomp the scores is NULL. How can I overcome this?
>
> Regards,
>
> Armin
>
> --
> Kind Regards,
>
> Armin Mewes
> Groundesign
> 10 Jerusalem street
> Belfast
> BT7 1QN
>
> Tel.    (0044)(0)2890280887
> Email.  enquiries at groundesign.net
> www.    www.groundesign.net
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>



-- 
Joshua Wiley
Ph.D. Student, Health Psychology
University of California, Los Angeles
https://joshuawiley.com/



More information about the R-help mailing list