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"))

debCAM documentation built on Nov. 8, 2020, 5:33 p.m.