predict_pca: 주성분 스코어 계산.

View source: R/principal-component-analysis.R

predict_pcaR Documentation

주성분 스코어 계산.

Description

주어진 주성분 분해 결과를 이용하여 새 데이터에 대해 주성분 스코어를 계산한다.

Usage

predict_pca(.fit, .new_data)

Arguments

.fit

주성분 분해 결과.

.new_data

새 관측 데이터 프레임.

Value

주성분 스코어 데이터프레임.

Examples

data(biometric, package = "dmtr")
fit <- fit_pca(biometric, .pc = 2L)
predict_pca(fit, biometric)


youngroklee-ml/dmtr documentation built on June 12, 2022, 6:24 p.m.