.build_model_formula {BlanketStatsments}R Documentation

Build formula for statistical models

Description

Build formula used in statistical models from vectors of strings. Copied from basecamb package to avoid dependency

Usage

.build_model_formula(outcome, predictors, censor_event = NULL)

Arguments

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.

Value

formula for use in statistical models

Author(s)

J. Peter Marquardt

Source

build_model_formula


[Package BlanketStatsments version 0.1.2 Index]