coef.tramnet: coef method for class '"tramnet"'

View source: R/methods.R

coef.tramnetR Documentation

coef method for class "tramnet"

Description

coef method for class "tramnet"

Usage

## S3 method for class 'tramnet'
coef(object, with_baseline = FALSE, tol = 1e-06, scaled = FALSE, ...)

Arguments

object

object of class "tramnet"

with_baseline

If TRUE, also prints coefficients for the baseline transformation

tol

tolerance when an estimate should be considered 0 and not returned (default: 1e-6)

scaled

only for models fitted via the formula interface: If FALSE (default), shift parameters are returned on the original scale of the covariates, otherwise on the scale of the internally scaled covariates (on which the penalty acts)

...

Additional arguments to coef

Value

Numeric vector containing the model shift parameter estimates

Author(s)

Torsten Hothorn, Lucas Kook


tramnet documentation built on Oct. 16, 2026, 5:07 p.m.