model.frame()
gives unexpected results with iv_robust()
#397
Milestone
model.frame()
gives unexpected results with iv_robust()
#397
Hello,
I have found that
model.frame()
gives unexpected results when used withiv_robust()
, possibly due to it being unable to parse the model formula. With a factor variable in the model, no dataset is produced, and without factor variables, the formula is misinterpreted, with the|
interpreted as "or". See reprex below:Created on 2022-08-29 with reprex v2.0.2
This fix is needed to fully resolve #374, because as of right now there is no clear way to extract the original dataset from the model. Thanks!
The text was updated successfully, but these errors were encountered: