Learn R Programming

sNPLS (version 1.0.27)

coef.sNPLS: Coefficients from a sNPLS model

Description

Extract coefficients from a sNPLS model

Usage

# S3 method for sNPLS
coef(object, as.matrix = FALSE, ...)

Arguments

object

A sNPLS model fit

as.matrix

Should the coefficients be presented as matrix or vector?

...

Further arguments passed to coef

Value

A matrix (or vector) of coefficients