print.boosting: Prints the call and coefficients from boosting model...

Description Usage Arguments Value Examples

View source: R/boosting_function.R

Description

This function displays the coefficient estimates of all variables from a model generated with the boosting_core function.

Usage

1
2
## S3 method for class 'boosting'
print(x, ...)

Arguments

x

output from boosting_core function.

...

ignored

Value

list containing the coefficient vector and function call.

Examples

1
2
3
4
5
data <- simulate_survival_cox(true_beta=c(1,1,1,1,1,0,0,0,0,0))
formula <- as.formula("Surv(time,delta) ~ strata(strata_idx) + V1 + V2 + 
V3 + V4 + V5 + V6 + V7 + V8 + V9 + V10" )
boosting.output <- boosting_core(formula, data, rate=0.1, num_iter=500)
print(boosting.output)

SurvBoost documentation built on Sept. 20, 2019, 5:04 p.m.