Learn R Programming

SurvBoost (version 0.1.2)

summary.boosting: Summary of boosting model selection

Description

This function displays the variables selected from a model generated with the boosting_core function.

Usage

# S3 method for boosting
summary(object, all_beta = NULL, ...)

Arguments

object

output from boosting_core function.

all_beta

default value is FALSE. If this is set to TRUE the coefficient estimates for all the parameters will be printed.

...

ignored

Value

list containing the coefficient vector, number of boosting iterations, and resulting formula from the variable selection.

Examples

Run this code
# NOT RUN {
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)
summary.boosting(boosting.output)

# }

Run the code above in your browser using DataLab