powered by
Check if main effects for all interaction effects are included in the model
var_check(ev, cn, intv = "")
List of explanatory variables provided to regress or logistic
regress
logistic
Column names for all explanatory variables in the dataset
Interaction terms specified
vars is a vector of right-hand side variables, possibly with interactions, iv is the list of explanatory variables, and intv are interaction terms
vars
iv
intv
If ':' is used to select a range evar is updated. See https://radiant-rstats.github.io/docs/model/regress.html for an example in Radiant
# NOT RUN { var_check("a:d", c("a","b","c","d")) var_check(c("a", "b"), c("a", "b"), "a:c") # }
Run the code above in your browser using DataLab