coef.GeDSboost,gam {GeDS} | R Documentation |
Coef method for GeDSboost, GeDSgam
Description
Methods for the functions coef
and
coefficients
that allow to extract the estimated
coefficients of GeDSboost-Class
or GeDSgam-Class
object.
Usage
## S3 method for class 'GeDSboost'
coef(object, n = 3L, ...)
## S3 method for class 'GeDSboost'
coefficients(object, n = 3L, ...)
## S3 method for class 'GeDSgam'
coef(object, n = 3L, ...)
## S3 method for class 'GeDSgam'
coefficients(object, n = 3L, ...)
Arguments
object |
the |
n |
integer value (2, 3 or 4) specifying the order ( |
... |
potentially further arguments (required by the definition of the generic function). They will be ignored, but with a warning. |
Value
A named vector containing the required coefficients of the fitted multivariate predictor model.
See Also
coef
for the standard definition;
NGeDSboost
and NGeDSgam
for examples.