[R] screeplot() v.s. plot()

Ko-Kang@xtra.co.nz Ko-Kang at xtra.co.nz
Thu Mar 29 12:37:01 CEST 2001


Hi,

Suppose I've got a data set that I found the eigenvalues and eigenvectors.  Then I want to draw a screeplot for the eigenvalues.  However it returns:
   Error in matrix(w.m, nc = NC) : negative extents to matrix

Then I tried a plot() function on the eigenvalues of the data set, and I can successfully draw it!  And the output looks like what the screeplot would show to me.

Is there any difference between them, in the case of plotting the eigenvalues?  

Thanks,

Kevin

PS.  I've set my mailer to send this message as text-based.  I hope this is the case and none of you will see it as html file.

-------------------------------------------------
Ko-Kang Kevin Wang
Statistical Analysis Division Leader
Software Developers' Klub
University of Auckland
New Zealand

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list