Checks if formula is in advanced format and translates if not.
create_model.formula(formula, data, verbose = FALSE)
The model formula, where
it must contain exatly one tilde (
~), with response
variable on the left-hand side and model terms on the right-hand side
terms are be separated by a plus (
all variables appearing in
formula must be
See the "Model formula syntax" section below (
instructions on how to specify the model terms.
data.frame where each column corresponds to one
variable, and each row is one observation. Continuous covariates and the
response variable must have type
"numeric" and categorical covariates
must have type
"factor". Missing values should be indicated with
NA. The response variable cannot contain missing
values. Column names should not contain trailing or leading underscores.
Should some informative messages be printed?
an object of class lgpformula