set.lv {autopls}R Documentation

Sets the number of latent vectors in autopls objects

Description

Sets the number of latent vectors in a autopls object

Usage

  set.lv(object, lv, verbose = TRUE)

Arguments

object

object of class autopls

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

Value

Returns an object of class autopls

Author(s)

Sebastian Schmidtlein

See Also

autopls, set.iter

Examples

  ## 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)

[Package autopls version 1.3 Index]