predict.pca {mdatools}R Documentation

PCA predictions

Description

Applies PCA model to a new data set.

Usage

## S3 method for class 'pca'
predict(object, x, ...)

Arguments

object

a PCA model (object of class pca).

x

data values (matrix or data frame).

...

other arguments.

Value

PCA results (an object of class pcares)


[Package mdatools version 0.14.1 Index]