set.lv {autopls} | R Documentation |
Sets the number of latent vectors in a autopls
object
set.lv(object, lv, verbose = TRUE)
object |
object of class |
lv |
new value for the number of latent vectors used |
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) ## set another number of latent vectors newmodel <- set.lv (model,2)