konfound-project / konfound

R package for carrying out sensitivity analysis
https://konfound-project.github.io/konfound/
Other
15 stars 7 forks source link

konfound error #65

Closed jrosen48 closed 5 months ago

jrosen48 commented 7 months ago
> m1 <- lm(mpg ~ wt + hp + qsec, data = mtcars)
> m1
> konfound(m1, wt, to_return = "table")
Dependent variable is mpg 
Error in abs(konfound(model_object, !!tested_variable, to_return = "raw_output")$itcv) : 
  non-numeric argument to mathematical function
In addition: Warning message:
Unknown or uninitialised column: `itcv`. 

any idea what's going on here, @qinyun-lin ?

jrosen48 commented 5 months ago

@qinyun-lin any idea what is going on here?

jrosen48 commented 5 months ago

I think this is due to 0c46c1a20e0be520672ed43e589a7b75e59bb98a -- I think @wwang93 can address this and #70

jrosen48 commented 5 months ago

eh was able to make this quick edit