Description Usage Arguments Details Value Author(s) See Also Examples
Prediction for models fit using pcreg()
.
1 2 |
object |
the S3 class object produced as output from the function pcreg() |
newdata |
dataframe with new data and with same column names as used in the original argument to pcreg. |
... |
additional arguments |
The prediction method, predict.mvr()
, which is available in the pls
package is used.
We take advantage of this since it avoids fussing with scaling issues
since it is automatically handled
for us by predict.mvr()
the predicted values
A. I. McLeod
predict.pcreg
,
summary.pcreg
,
plot.pcreg
,
fitted.pcreg
,
residuals.pcreg
1 2 3 4 5 |
Loading required package: leaps
[1] 929.0372 907.8880 1051.7537 938.7067 889.6990 924.8623 879.4270
[8] 901.1829 946.7659 907.1468 899.6585 960.0635 794.5098 871.8236
[15] 859.0607 910.7289 906.1838 910.2026 969.5062 944.3537
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.