Summary and print functions for autopls objects

Share:

Description

Summary and print methods for autopls and slim objects.

Usage

1
2
3
4
5
6
7
8
  ## S3 method for class 'autopls'
summary(object, ...)
  ## S3 method for class 'slim'
summary(object, ...)
  ## S3 method for class 'autopls'
print(x, ...)
  ## S3 method for class 'slim'
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

Author(s)

Sebastian Schmidtlein

See Also

autopls, slim

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