From d7b15d4c8e4b045731420af02a9e5d71f26ccc8a Mon Sep 17 00:00:00 2001 From: Josh Errickson Date: Fri, 11 Dec 2015 07:54:57 -0500 Subject: [PATCH] Fix to remove a warning --- R/mlm.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/mlm.R b/R/mlm.R index f3802e5..3ac6789 100644 --- a/R/mlm.R +++ b/R/mlm.R @@ -195,7 +195,7 @@ parseMatchingProblem <- function(formula, data, na.action = na.pass, ...) { mname <- colnames(mf)[isMatch] - newf <- update(formula, as.formula(paste(".~. -", mname))) + newf <- update(formula, as.formula(paste(".~. -", mname)), data=mf) # now make a new model frame, using the reduce form of the formula mf <- model.frame(newf, data, na.action = na.action, ...)