Description Usage Arguments Value Author(s) Examples
View source: R/Blanket_statsments.R
Run the same model (type, outcome, and covariates) with different sets of predictors
1 2 3 4 5 6 7 8 9 | blanket_stats(
df,
outcome,
predictor_sets,
covariates = c(),
modality = "linear",
event_censor = NA,
verbose = FALSE
)
|
df |
data.frame containing the data set. |
outcome |
character designating the column with the outcome of interest |
predictor_sets |
named list or character vectors containing columns with predictors |
covariates |
vector of characters denoting columns with covariables |
modality |
character denoting model type. Currently limited to 'linear', 'logistic', and 'cox' |
event_censor |
character denoting column with censor event. For coxph models only |
verbose |
logical. TRUE activates printout messages. |
named list of models
J. Peter Marquardt
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.