We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Including a random term in the models of the example of anova.mppm() makes the likelihood ratio test to fail, e.g.:
anova.mppm()
H <- hyperframe(X=waterstriders) #' test for loglinear trend in x coordinate mod0 <- mppm(X~1, data=H, Poisson(), random = ~1|id) modx <- mppm(X~x, data=H, Poisson(), random = ~1|id) anova(mod0, modx, test="Chi")
Error in anova.lme(structure(list(modelStruct = structure(list(reStruct = structure(list( : objects must inherit from classes "gls", "gnls", "lm", "lmList", "lme", "nlme", "nlsList", or "nls" Error in anova.mppm(mod0, modx, test = "Chi") : anova failed
The text was updated successfully, but these errors were encountered:
This has arisen because recent versions of nlme have imposed stricter restrictions on the arguments of anova.lme. We are trying to find a work-around.
nlme
anova.lme
Sorry, something went wrong.
As a temporary solution, if you set spatstat.options(developer=TRUE), your example code will work, in the development version spatstat 1.64-1.027.
spatstat.options(developer=TRUE)
spatstat 1.64-1.027
Thank you so much Adrian for dealing with this. Your temporary solution works fine also with other data and examples.
This solution has been adopted permanently in spatstat 1.64-1.052 and later.
spatstat 1.64-1.052
So you do not need to typespatstat.options(developer=TRUE) any more.
baddstats
No branches or pull requests
Including a random term in the models of the example of
anova.mppm()
makes the likelihood ratio test to fail, e.g.:The text was updated successfully, but these errors were encountered: