coef.mvdareg: Extract Information From a plsFit Model
Description
Functions to extract information from mvdalab objects.
Usage
# S3 method for mvdareg
coef(object, ncomp = object$ncomp, type = c("coefficients",
"loadings", "weights", "y.loadings"), conf = .95, ...)
Arguments
object
an mvdareg object, i.e. a plsFit.
ncomp
the number of components to include in the model (see below).
type
specify model parameters to return.
conf
for a bootstrapped model, the confidence level to use.
…
additional arguments. Currently ignored.
Value
coefficients
a named vector, or matrix, of coefficients.
loadings
a named vector, or matrix, of loadings.
weights
a named vector, or matrix, of weights.
y.loadings
a named vector, or matrix, of y.loadings.
Details
These are usually called through their generic functions coef and residuals, respectively.
coef.mvdareg is used to extract the regression coefficients, loadings, or weights of a PLS model.
If comps is missing (or is NULL), all parameter estimates are returned.