Description Usage Arguments Value Author(s) See Also Examples
Resets the number of latent vectors and the iteration used in autopls objects to the values originally selected by the autopls procedure
1 |
object |
object of class |
verbose |
logical. If a summary of the resulting object should be printed on the screen |
Returns an object of class autopls
Sebastian Schmidtlein
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## load predictor and response data to the current environment
data (murnau.X)
data (murnau.Y)
## call autopls with the standard options
model <- autopls (murnau.Y ~ murnau.X)
## select another iteration
newmodel <- set.iter (model,3)
## set another number of latent vectors
evennewermodel <- set.lv (newmodel,2)
## return to the original values
firstmodel <- reset (evennewermodel)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.