View source: R/principal-component-analysis.R
predict_pcr | R Documentation |
주성분 회귀모형 추정 이후 새로운 데이터에 대한 반응치를 예측한다.
predict_pcr(.fit, .new_data, ...)
.fit |
주성분 회귀모형 추정 결과. |
.new_data |
새 관측 데이터 프레임. |
... |
함수 |
예측값 데이터 프레임.
data(biometric, package = "dmtr") fit <- fit_pcr(biometric, weight, c(age, height), .pc = 1L) predict_pcr(fit, biometric)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.