Learn R Programming

evgam (version 0.1.4)

summary.evgam: Summary method for a fitted evgam object

Description

Summary method for a fitted evgam object

Usage

# S3 method for evgam
summary(object, ...)

# S3 method for summary.evgam print(x, ...)

Arguments

object

a fitted evgam object

...

not used

x

a summary.evgam object

Value

A summary.evgam object

Details

The key part of summary.evgam is p-values for smooths. The tests use code directly taken from mgcv 1.8-14. This is to avoid use of mgcv:::... . Tests implement the method of Wood (2013).

References

Wood, S. N., (2013) On p-values for smooth components of an extended generalized additive model, Biometrika 100(1) 221--228

Examples

Run this code
# NOT RUN {
data(fremantle)
fmla_gev <- list(SeaLevel ~ s(Year, k=5, bs="cr"), ~ 1, ~ 1)
m_gev <- evgam(fmla_gev, fremantle, family = "gev")
summary(m_gev)

# }

Run the code above in your browser using DataLab