.build_model_formula {BlanketStatsments} | R Documentation |
Build formula used in statistical models from vectors of strings. Copied from basecamb package to avoid dependency
.build_model_formula(outcome, predictors, censor_event = NULL)
outcome |
character denoting the column with the outcome. |
predictors |
vector of characters denoting the columns with the predictors. |
censor_event |
character denoting the column with the censoring event, for use in Survival-type models. |
formula for use in statistical models
J. Peter Marquardt