How to extract eigenvalues in r?
Description Usage Arguments Details Value Author(s) References See Also Examples
Function extracts eigenvalues from an object that has them. Many multivariate methods return such objects.
This is a generic function that has methods for cca, wcmdscale, pcnm, prcomp, princomp, dudi (of ade4), and pca and pco (of labdsv) result objects. The default method also extracts eigenvalues if the result looks like being from eigen or svd. Functions prcomp and princomp contain square roots of eigenvalues that all called standard deviations, but eigenvals function returns their squares. Function svd contains singular values, but function eigenvals returns their squares. For constrained ordination methods cca, rda and capscale the function returns the both constrained and unconstrained eigenvalues concatenated in one vector, but the partial component will be ignored. However, with argument constrained = TRUE only constrained eigenvalues are returned.
The summary of eigenvals result returns eigenvalues, proportion explained and cumulative proportion explained. The result object can have some negative eigenvalues (wcmdscale, capscale, pcnm) which correspond to imaginary axes of Euclidean mapping of non-Euclidean distances (Gower 1985). In these cases, the sum of absolute values of eigenvalues is used in calculating the proportions explained, and real axes (corresponding to positive eigenvalues) will only explain a part of total variation (Mardia et al. 1979, Gower 1985).
An object of class "eigenvals" which is a vector of eigenvalues.
Jari Oksanen.
Gower, J. C. (1985). Properties of Euclidean and non-Euclidean distance matrices. Linear Algebra and its Applications 67, 81–97.
Mardia, K. V., Kent, J. T. and Bibby, J. M. (1979). Chapter 14 of Multivariate Analysis, London: Academic Press.
eigen, svd, prcomp, princomp, cca, rda, capscale, wcmdscale, cca.object.
Related Questions
- How to celebrate aquarius man birthday?
- How to factory reset scepter 8 tablet?
- How to take profit in etoro?
- How to stop dm requests on instagram?
- How to center on excel?
- How to activate ifr flight plan in the air?
- How to avoid notice period?
- How to rsvp in teams?
- How to identify transistor legs?
- How to be a tn state trooper?
More Questions
- What is means of communication?
- This weekend should I buy Aqualogica Hydrate+ Sunscreen with SPF 50 For UVA/B & Blue Light Protection, Gel, 50G [Review]?
- typeerror $(...).jqgrid is not a function?
- Is there any startup hiring in NY?Tech, business, development, marketing, legal, and HR are all acceptable roles.
- Do diabetics get edema?
- how to apply ahb?
- What is ecr and ecnr passport?
- when emily in paris?
- How to spot in bfv?
- How to create amazon redshift cluster?