Displaying 1 result from an estimated 1 matches for "foreignaid".
Did you mean:
foreign_id
2004 Sep 30
1
expand.model.frame gives "object not found"
...ot;, rhs), env=globalenv())
return (glm(formula, family=binomial(link=logit)))
I have now come back to the formula and want to add some more
variables to it. So I do:
expand.model.frame(formulaname, ~ new_variable)
but I get the response
Error in eval(expr, envir, enclos) : Object "foreignaid.dummy" not found
where foreignaid.dummy is my dependent variable. However,
foreignaid.dummy is clearly visible in the global environment:
> ls(pat="foreignaid.dummy", envir=globalenv())
[1] "foreignaid.dummy"
...
So why is my dependent variable lost?
I have read th...