mergePcAux: Merge Principal Component Auxiliaries with the raw data from...

View source: R/mergePcAux.R

mergePcAuxR Documentation

Merge Principal Component Auxiliaries with the raw data from which they were constructed.

Description

Merge Principal Component Auxiliaries with the raw data from which they were constructed.

Usage

mergePcAux(pcAuxData, rawData, nComps = NULL, verbose = TRUE, ...)

Arguments

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.

Value

A data frame with (a subset of) the principal component auxiliary scores from pcAuxData$pcAux merged onto the end of the raw data.


dsquire/PcAux documentation built on May 2, 2024, 4:48 a.m.