Big Data Principal Component Scores

DESCRIPTION:

Returns a bdFrame containing the scores for the principal components.

This function requires the bigdata library section to be loaded.

USAGE:

predict.bdPrincomp(object, newdata = NULL)
fitted.bdPrincomp(object)

REQUIRED ARGUMENTS:

object
object of class "bdPrincomp".

OPTIONAL ARGUMENTS:

newdata
bdFrame of numeric data. The column names must include the variables used to compute object.

VALUE:

bdFrame of principal component scores.

SEE ALSO:

, .

EXAMPLES:

wafer.pc <- princomp(~pre.mean + post.mean + pre.dev + post.dev, 
               data=as.bdFrame(wafer)) 
hyp.data <- bdFrame(pre.mean=c(2,3), post.mean=c(2,3), 
                 post.dev=c(.2,.3), pre.dev=c(.1,.2)) 
predict(wafer.pc, hyp.data)