Hi, I have successfully completed a PCA and printed the loadings, however, numerous values are blank. I know that this means the values are just very small but not equal to zero. Is there a way to print out the loadings, including the very small values, I need them for graphing purposes. Thanks, Xan [[alternative HTML version deleted]]
Which principal component function are you using? Check the documentation for that and look for the part of the object that provides the PC's. Those are your loadings.>>> Xanthe Walker <xanthe.walker at gmail.com> 16/03/2010 23:16:47 >>>Hi, I have successfully completed a PCA and printed the loadings, however, numerous values are blank. I know that this means the values are just very small but not equal to zero. Is there a way to print out the loadings, including the very small values, I need them for graphing purposes. Thanks, Xan [[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. ******************************************************************* This email and any attachments are confidential. Any use...{{dropped:8}}
On 17.03.2010 00:16, Xanthe Walker wrote:> Hi, > > I have successfully completed a PCA and printed the loadings, however, > numerous values are blank. I know that this means the values are just very > small but not equal to zero. > > Is there a way to print out the loadings, including the very small values, I > need them for graphing purposes.See ?loadings and find that print(loadings(pca_object), cutoff=0) shoudl print everything. Although, if you want to use the loadings for generating graphics, you should work with the output directly, since thge information in the loadings object is much more precise than its pinted representation. Too see a bit more, type, e.g.: l <- loadings(pca_object) l[] Uwe Ligges> Thanks, > Xan > > [[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.