50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

CoxBoost (version 1.4)

coef.CoxBoost: Coeffients from CoxBoost fit

Description

Extracts the coefficients from the specified boosting steps of a CoxBoost object fitted by CoxBoost.

Usage

"coef"(object,at.step=NULL,scaled=TRUE,...)

Arguments

object
fitted CoxBoost object from a CoxBoost call.
at.step
scalar or vector of boosting step(s) at which prediction is wanted. If no step is given, the final boosting step is used.
scaled
logical value indicating whether coefficients should be returned scaled to be at the level of the original covariate values, or unscaled as used internally when standardize=TRUE is used in the CoxBoost call.
...
miscellaneous arguments, none of which is used at the moment.

Value

For a vector of length p (number of covariates) (at.step being a scalar) or a length(at.step) * p matrix (at.step being a vector).