pca-class {RGeostats}R Documentation

Class "pca" Factorization Linear Transformation

Description

This class correspond to the linear transformation to go from a set of variables to a set of factors, and vice-versa.

It contains the centering and scaling quantities for normalizing the variables. Then it contains the transofmration matrix and the corresponding eigen values.

Objects from the Class

Objects can be created by calls of the form new("pca", ...).

Slots

nvar:

Object of class "numeric" Number of variables. It also corresponds to the number of factors.

varnames:

Object of class "character" Vector of variable names

mean:

Object of class "numeric" Vector of means for centering each variable

sigma:

Object of class "numeric" Vector of standard deviation for scaling each variable

eigen:

Object of class "numeric" Vector of eigen values of the transformation matrix

pcaz2f:

Object of class "numeric" Transformation matrix from variables into factors

pcaf2z:

Object of class "numeric" Transformation matrix from factors into variables

Methods

\$

pca$parameter is used to query the value of parameter from pca:

  • nvar : Number of variables the pca-class

  • mean : Array of mean values

  • sigma : Array of standard deviation values

  • eigen : Array of eigen values

  • pcamat : Transformation matrix

\$<-

signature(x = "pca"): ...

Examples

showClass("pca")

[Package RGeostats version 14.0.10 Index]