mergePcAux | R Documentation |
Merge Principal Component Auxiliaries with the raw data from which they were constructed.
mergePcAux(pcAuxData, rawData, nComps = NULL, verbose = TRUE, ...)
pcAuxData |
An object of class PcAuxData produced by a call to createPcAux. |
rawData |
A data frame containing the raw data used to run createPcAux. |
nComps |
A two-element vector giving the number of linear and nonlinear, respectively, component scores to extract. See the Details section for more information. When not specified, all component scores that exist in pcAuxData are used. |
verbose |
A logical flag indicating whether verbose output should be printed to stdout. Defaults to verbose = TRUE. |
... |
Only used when mergePcAux is called from within other PcAux functions. |
A data frame with (a subset of) the principal component auxiliary scores from pcAuxData$pcAux merged onto the end of the raw data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.