Displaying 2 results from an estimated 2 matches for "manyglm".
Did you mean:
mangle
2012 Feb 21
0
mvabund package: errors using manyglm() and meanvar.plot()
...r model, there is no problem. All the
following statements give the desired result.
> lm<-manylm(mvform)
> anova(lm,nBoot=500)
> plot(lm)
However, because these are count data, I am interested in fitting a
generalized linear model instead, but then I get following error:
> glm<-manyglm(mvform,family="negative.binomial")
> anova(glm,nBoot=500)
Error in XvarIn[nterms - i, varseq > i] <- 0 :
(subscript) logical subscript too long
Also, when trying to create diagnostics plots, I get the following error.
> plot(glm)
Error in plot.window(...) : need finite ...
2013 Jun 07
0
error running mvabund package
...ck.names=TRUE)
vegtype=as.factor(vegtype$vegtype)
plot(cplflorabund~vegtype) #there is a column called "treatment", and
another called "block"
plot.mvabund(cplflorabund)
##Fitting predictive models
transect=as.factor(transect$transect)
flormat=as.matrix(florabund)
abund.nb <-manyglm(flormat~transect*vegtype, family="nagative.binomial")
predict(abund.nb, type= "response")
##Checking Model Assumptions
plot(abund.nb)
meanvar.plot(flormat~transect, col=as.numeric (vegtype)) #direct plot of
mean-variace relationship
anova(abund.nb, p.uni="adjusted&qu...