## Create simple simulated data
myResp.s <- sample(c(0, 1), 20, replace = TRUE)
myExpl.s <- data.frame(var1 = sample(c(0, 1), 100, replace = TRUE),
var2 = rnorm(100),
var3 = 1:100)
## Generate automatic formula
bm_MakeFormula(resp.name = 'myResp.s',
expl.var = head(myExpl.s),
type = 'quadratic',
interaction.level = 0)
Run the code above in your browser using DataLab