Skip to content

Scree diagram,

5 messages · Philip Wong, Ista Zahn, John Kane +2 more

#
hello,
I've two questions today.
1) I'm trying to do a scree diagram, I did a Google for a specific command I
could used to do so.  All I could find is a screeplot.  Are they the same
command?

2) what command can I used to present a PC scores, eigenvectors of the PC
scores, and component correlations?

thanks!
#
Hi Phillip,
I've never heard of a scree _diagram_, I'm not even sure what that is.

To get started with principal components analysis in R, I suggest the
psych package. The package vignettes are quite detailed, I suggest
starting there.

Best,
Ista
On Sun, May 2, 2010 at 12:06 AM, Philip Wong <tombfighter at mysinamail.com> wrote:

  
    
#
Presumably, a scree plot?

Philip may find something useful here http://www.statmethods.net/advstats/factor.html
--- On Sun, 5/2/10, Ista Zahn <istazahn at gmail.com> wrote:

            
#
1) I believe you wanted a scree plot which shows the percentage of 
variance explained (y-axis) versus the principal components (x-axis). To 
do that, all you needs a simple plot(x,y) function where x = pc and y = 
variance. It is called a scree plot because the plot looks like a scree 
on the side of the mountain.

2) you can find the details of the components using names(x) where x= 
the output from your pca command


Muhammad
On 05/02/2010 01:06 AM, Philip Wong wrote:
#
There is a screeplot() function that takes the output from prcomp.  It plots
the value of the eigenvalue vs. the eigenvalue's number.
CS

-----
Corey Sparks, PhD
Assistant Professor
Department of Demography and Organization Studies
University of Texas at San Antonio
501 West Durango Blvd
Monterey Building 2.270C
San Antonio, TX 78207
210-458-3166
corey.sparks 'at' utsa.edu
https://rowdyspace.utsa.edu/users/ozd504/www/index.htm