easystats / insight

:crystal_ball: Easy access to model information for various model objects
https://easystats.github.io/insight/
GNU General Public License v3.0
403 stars 39 forks source link

get_response fails with mutli column response? #100

Closed mattansb closed 5 years ago

mattansb commented 5 years ago
library(rstanarm)

m0 <- stan_glmer(cbind(incidence, size - incidence) ~ (1|herd),
                 data = lme4::cbpp, family = binomial)
insight::get_response(m0)
#> Error in `[.data.frame`(md, , needed.vars, drop = FALSE) : 
#>   undefined columns selected
strengejacke commented 5 years ago

damn, these stupid null-models! :-D Should be fixed with the next commit.

mattansb commented 5 years ago

Glad I'm here to find edge cases that no one will ever use 😄