summary.mvr

0th

Percentile

Summary and Print Methods for PLSR and PCR objects

Summary and print methods for mvr and mvrVal objects.

Keywords
multivariate, regression
Usage
# S3 method for mvr
summary(object, what = c("all", "validation", "training"),
        digits = 4, print.gap = 2, …)
# S3 method for mvr
print(x, …)
# S3 method for mvrVal
print(x, digits = 4, print.gap = 2, …)
Arguments
x, object

an mvr object

what

one of "all", "validation" or "training"

digits

integer. Minimum number of significant digits in the output. Default is 4.

print.gap

Integer. Gap between coloumns of the printed tables.

Other arguments sent to underlying methods.

Details

If what is "training", the explained variances are given; if it is "validation", the cross-validated RMSEPs (if available) are given; if it is "all", both are given.

Value

print.mvr and print.mvrVal return the object invisibly.

See Also

mvr, pcr, plsr, RMSEP, MSEP

Aliases
  • summary.mvr
  • print.mvr
  • print.mvrVal
Examples
# NOT RUN {
data(yarn)
nir.mvr <- mvr(density ~ NIR, ncomp = 8, validation = "LOO", data = yarn)
nir.mvr
summary(nir.mvr)
RMSEP(nir.mvr)
# }
Documentation reproduced from package pls, version 2.7-2, License: GPL-2

Community examples

Looks like there are no examples yet.