coef.RobZS: coef.RobZS

Description Usage Arguments Value

View source: R/coef.RobZS.R

Description

coef.RobZS

Usage

1
2
## S3 method for class 'RobZS'
coef(object, vers = c("reweighted", "raw"), zeros = TRUE, ...)

Arguments

object

fitted RobZS model object.

vers

a character string specifying for which fit to make predictions. Possible values are reweighted (the default) for predicting values from the reweighted fit, raw for predicting values from the raw fit.

zeros

a logical indicating whether to keep zero coefficients ('TRUE', the default) or to omit them ('FALSE').

...

additional arguments from the RobZS object if needed.

Value

a numeric vector containing the requested coefficients.


giannamonti/RobZS documentation built on July 15, 2021, 3:22 a.m.