coxboost: Formula interface for function 'CoxBoost' of package...

View source: R/predictEventProb.coxboost.R

coxboostR Documentation

Formula interface for function CoxBoost of package CoxBoost.

Description

Formula interface for function CoxBoost of package CoxBoost.

Usage

coxboost(formula, data, cv = TRUE, cause = 1, penalty, ...)

Arguments

formula

An event-history formula for competing risks of the form Hist(time,status)~sex+age where status defines competing events and right censored data. The code for right censored can be controlled with argument cens.code, see man page the function Hist.

data

A data.frame in which the variables of formula are defined.

cv

If TRUE perform cross-validation to optimize the parameter stepno. This calls the function cv.CoxBoost whose arguments are prefix controlled, that is cv.K=7 sets the argument K of cv.CoxBoost to 7. If FALSE use stepno.

cause

The cause of interest in competing risk models.

penalty

See CoxBoost.

...

Arguments passed to either CoxBoost via CoxBoost.arg or to cv.CoxBoost via cv.CoxBoost.arg.

Details

See CoxBoost.

Value

See CoxBoost.

Author(s)

Thomas Alexander Gerds tag@biostat.ku.dk

References

See CoxBoost.

See Also

See CoxBoost.


pec documentation built on April 11, 2023, 5:55 p.m.

Related to coxboost in pec...