reset {autopls} | R Documentation |
Resets the number of latent vectors and the iteration used in autopls objects to the values originally selected by the autopls procedure
reset(object, verbose = TRUE)
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
## 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)