reset: Resets the number of latent vectors and the iteration used in...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/reset.R

Description

Resets the number of latent vectors and the iteration used in autopls objects to the values originally selected by the autopls procedure

Usage

1
  reset(object, verbose = TRUE)

Arguments

object

object of class autopls

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, set.lv

Examples

 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)


autopls documentation built on May 19, 2017, 11:06 p.m.
Search within the autopls package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.