set.lv: Sets the number of latent vectors in autopls objects

Description Usage Arguments Value Author(s) See Also Examples

Description

Sets the number of latent vectors in a autopls object

Usage

1
  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

1
2
3
4
5
6
7
8
9
  ## 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)

autopls documentation built on May 2, 2019, 9:39 a.m.

Related to set.lv in autopls...