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.

mean:

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

names:

Object of class "character" Vector of variable names

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:

\$<-

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

Examples

showClass("pca")

[Package RGeostats version 11.1.2 Index]