I have found a fix now - I define the variable "center" (that takes the role
of the !iscube below) within the function formula.design, and then using
"formula" instead of "as.formula" solves the issue, because it preserves the
calling environment - first time I get an idea what this is good for ..
Dear all,
I am working on a function formula.design that should automatically generate
reasonable lm formulae for a number of different designs. All works well as
long as all variables used are columns of the design data frame. For one
function, I would like to incorporate a dummy variable for c