You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the mixed_model function, this early if statement:
if (family$family %in% c("zero-inflated poisson", "zero-inflated negative binomial",
"hurdle poisson", "hurdle negative binomial", "hurdle beta",
"zero-inflated binomial") && is.null(zi_fixed)) {
stop("you have defined a family with an extra zero-part;\nat least argument ",
"'zi_fixed' needs to be defined, and potentially also argument 'zi_random'.")
}
should also include the hurdle lognormal family. Otherwise omitting zi_fixed leads to this confusing error:
'data' must be of a vector type, was 'NULL'
Thanks!
The text was updated successfully, but these errors were encountered:
In the mixed_model function, this early if statement:
if (family$family %in% c("zero-inflated poisson", "zero-inflated negative binomial",
"hurdle poisson", "hurdle negative binomial", "hurdle beta",
"zero-inflated binomial") && is.null(zi_fixed)) {
stop("you have defined a family with an extra zero-part;\nat least argument ",
"'zi_fixed' needs to be defined, and potentially also argument 'zi_random'.")
}
should also include the hurdle lognormal family. Otherwise omitting zi_fixed leads to this confusing error:
'data' must be of a vector type, was 'NULL'
Thanks!
The text was updated successfully, but these errors were encountered: