View source: R/anova.gammrsea.R
anova.gamMRSea | R Documentation |
gamMRSea
ModelsCalculates type-III analysis-of-variance tables for model objects produced by gamMRSea (in the MRSea package). Wald chisquare tests are calculated by default although, F-tests may be specified.
## S3 method for class 'gamMRSea'
anova(object, varshortnames = NULL, panelid = NULL, test = "Wald")
object |
A |
varshortnames |
(default = NULL). Character vector denoting the short names to use for any smooth terms. May already be specified as part of the model object. |
panelid |
vector of length of the data used in object. Specified if robust standard errors are to be used. |
test |
(default='wald'). May also specify "F". |
An object of class "anova
".
# load data
data(ns.data.re)
ns.data.re$foldid<-getCVids(ns.data.re, folds=5)
model<-gamMRSea(birds ~ observationhour + as.factor(floodebb) + as.factor(impact),
family='poisson', data=ns.data.re)
anova(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.