PCAmat {debCAM} | R Documentation |
Accessor to Dimension-reduction loading matrix.
PCAmat(x, ...) ## S4 method for signature 'CAMObj' PCAmat(x) ## S4 method for signature 'CAMPrepObj' PCAmat(x)
x |
a |
... |
additional argument list. |
The matrix whose rows are loading vectors for dimension reduction.
#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"))