Learn R Programming

gratia (version 0.9.0)

family.gam: Extract family objects from models

Description

Provides a stats::family() method for a range of GAM objects.

Usage

# S3 method for gam
family(object, ...)

# S3 method for gamm family(object, ...)

# S3 method for bam family(object, ...)

# S3 method for list family(object, ...)

Arguments

object

a fitted model. Models fitted by mgcv::gam(), mgcv::bam(), mgcv::gamm(), and gamm4::gamm4() are currently supported.

...

arguments passed to other methods.