Description Usage Arguments Details Value See Also Examples
The function ncompopt
determines the optimal number of components to include the model.
1 | ncompopt(x)
|
x |
RMSECV values calculated by the partial least squares regression |
If ncomp = "auto"
, the number of components with the minimum RMSECV is selected.
If the selected n-th component with the minimum RMSECV does not improve the RMSECV by at least 2 percent, then (n-1)th compoment is selected and so forth.
the optimal number of components
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.