R/TS_on_LDA.R
check_formulas.Rd
Check that the vector of formulas is actually formatted
as a vector of formula
objects and that the
predictor variables are all included in the document covariate table.
check_formulas(formulas, document_covariate_table, control = list())
formulas | Vector of the formulas to evaluate. |
---|---|
document_covariate_table | Document covariate table used to evaluate the availability of the data required by the formula inputs. |
control | A |
An error message is thrown if formulas
is
not proper, else NULL
.
data(rodents) check_formulas(~ 1, rodents$document_covariate_table)