Description Usage Arguments Value Author(s) See Also Examples
View source: R/Blanket_statsments.R
Table results of a blanket redundancy analysis on a list of existing models
1 | table_blanket_redundancies(blanket_redundancies, digits = 2)
|
blanket_redundancies |
list of lists of redun objects generated by blanket_redundancy_analysis() |
digits |
integer number of decimals to include |
a data.frame tabling the key results
J. Peter Marquardt
[table_predictors()], [blanket_redundancy_analysis()]
1 2 3 4 5 6 7 8 9 | data <- survival::lung
models_to_run <- list(
'OS' = list('outcome' = 'time', 'modality' = 'cox', 'event_censor' = 'status'),
'weight_loss' = list('outcome' = 'wt.loss', 'modality' = 'linear', 'event_censor' = NA))
predictor_sets <- list('age' = c('age'), 'age_ecog' = c('age', 'ph.ecog'))
covariates = c('sex')
bl_stats <- blanket_statsments(data, models_to_run, predictor_sets, covariates)
bl_redun <- blanket_redundancy_analysis(bl_stats, data)
table_blanket_redundancies(bl_redun)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.