PCAmat: Dimension-reduction loading matrix accessor

Description Usage Arguments Value Examples

Description

Accessor to Dimension-reduction loading matrix.

Usage

1
2
3
4
5
6
7
PCAmat(x, ...)

## S4 method for signature 'CAMObj'
PCAmat(x)

## S4 method for signature 'CAMPrepObj'
PCAmat(x)

Arguments

x

a CAMObj object or a CAMPrepObj object

...

additional argument list.

Value

The matrix whose rows are loading vectors for dimension reduction.

Examples

1
2
3
4
5
6
7
#obtain data
data(ratMix3)
data <- ratMix3$X

rCAM <- CAM(data, K = 3, dim.rdc = 3, thres.low = 0.30, thres.high = 0.95)
W <- PCAmat(rCAM)
W <- PCAmat(slot(rCAM, "PrepResult"))

Lululuella/CAMTHC documentation built on May 5, 2019, 2:39 a.m.