konfound-project / konfound

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

different konfound error #69

Closed jrosen48 closed 4 months ago

jrosen48 commented 5 months ago

different from #65

library(konfound)
#> Sensitivity analysis as described in Frank, Maroulis, Duong, and Kelcey (2013) and in Frank (2000).
#> For more information visit http://konfound-it.com.
library(forcats)
library(lme4)
#> Loading required package: Matrix

m4 <- glm(outcome ~ condition, data = binary_dummy_data, family = binomial(link = "logit"))
output4 <- konfound(m4, condition, two_by_two = TRUE, n_treat = 55, to_return = "raw_output")
#> Error in if (final_switch1 < final_switch2) {: argument is of length zero

Created on 2024-02-08 with reprex v2.1.0

jrosen48 commented 5 months ago

@qinyun-lin any idea whats going on here?

jrosen48 commented 5 months ago

I think this is a different issue than #65 and #70

jrosen48 commented 4 months ago

This is addressed