> d <- data.frame(y=rnorm(5), x=rnorm(5), z=c(0,0,1,1,1))
> d$f <- fullmatch(z ~ x, data=d)
> mlm(y ~ . - z, data=d)
Error in terms.formula(tmp, simplify = TRUE) (from mlm.R#189) :
'.' in formula and no 'data' argument
Error arises in parseMatchingProblem's update call. Doesn't appear that update.formula supports a data argument.
Additionally, I'm not sure if as.formula(paste(".~. -", mname)) is working as expected, I believe it should be as.formula(paste(".~. -", paste(mname, collapse="-"))) if mname can ever have length > 1. Nevermind, exactly one match is enforced.
Error arises in parseMatchingProblem's update call. Doesn't appear that
update.formulasupports adataargument.Additionally, I'm not sure ifNevermind, exactly one match is enforced.as.formula(paste(".~. -", mname))is working as expected, I believe it should beas.formula(paste(".~. -", paste(mname, collapse="-")))ifmnamecan ever have length > 1.