How to run detectseparation?
Closed this issue · 1 comments
bri2020 commented
Hi,
maybe this is a real stupid question but I have tried several things to run your software:
mm1 <-glm(cbind(C,T) ~ XY, data = newdf70_na,
family = binomial("logit"),
method = "detect_separation")
Error in detect_separation(x = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, :
could not find function "detect_separation"
> mm1 <- detectseparation::glm(cbind(C,T) ~ XY, data = data,
+ family = binomial("logit"),
+ method = "detect_separation")
Error: 'glm' is not an exported object from 'namespace:detectseparation'
> mm1 <- stats::glm(cbind(C,T) ~ XY, data = data,
+ family = binomial("logit"),
+ method = "detect_separation")
Error in detect_separation(x = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, :
could not find function "detect_separation"
> mm1 <- brglm2::glm(cbind(C,T) ~ XY, data = data,
+ family = binomial("logit"),
+ method = "detect_separation")
Error: 'glm' is not an exported object from 'namespace:brglm2'
Thanks again, and sorry if this a really ignorant and naive question.
Britta Meyer
bri2020 commented
Sorry for spamming it was the heat melting my brain -- I forget to load the library... haha!