String operations are often used to dynamically construct formulas. Although some functions might coerce string formulas to a proper formula object first, this isn't always necessarily the case. So the option is to always coerce formula via as.formula.
String operations are often used to dynamically construct formulas. Although some functions might coerce string formulas to a proper formula object first, this isn't always necessarily the case. So the option is to always coerce
formula
viaas.formula
.