Learn R Programming

autopls (version 1.3)

summary.autopls: Summary and print functions for autopls objects

Description

Summary and print methods for autopls and slim objects.

Usage

"summary"(object, ...) "summary"(object, ...) "print"(x, ...) "print"(x, ...)

Arguments

object
object of class autopls or slim respectively
x
object of class autopls or slim
...
Arguments to be passed to methods

Value

predictors
number of predictors used in the final model
lv
number of latent vectors used in the final model
rmse.cal
root mean squared errors in calibration
rmse.val
root mean squared errors in validation
r2.cal
R2 in calibration
r2.val
R2 in validation
Print returns a screen output and an unvisible object with the same content

See Also

autopls, slim

Examples

Run this code
  ## 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)
  
  ## print and plot results
  print (model)

Run the code above in your browser using DataLab