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
library(gnm)
f <- function(d) {
fit <- gnm(Freq ~ vote, eliminate=class, family=poisson, data=d)
confint(fit)
}
f(as.data.frame(cautres))
For me, this fails because d could not be found - presumably because some function downstream from update.gnm() (called by profile.gnm()) does not search in the correct environment. I'm sorry I'm not able to locate the exact source of the error, but I don't fully understand what's going on with environments in the following evaluated calls to gnm(), gnmTerms() etc.
Thanks for quickly fixing the previous issue and for your ongoing efforts!
The text was updated successfully, but these errors were encountered:
@kauedesousa Yes, I need the conditional Poisson regression because I have to stratify for a lot of factors that are, by themselves, uninteresting. However, even without the eliminate option, I still get an error from terms.formula().
I believe this is related to issue 1. Consider
For me, this fails because
d
could not be found - presumably because some function downstream fromupdate.gnm()
(called byprofile.gnm()
) does not search in the correct environment. I'm sorry I'm not able to locate the exact source of the error, but I don't fully understand what's going on with environments in the following evaluated calls tognm()
,gnmTerms()
etc.Thanks for quickly fixing the previous issue and for your ongoing efforts!
The text was updated successfully, but these errors were encountered: