Provides a stats::family()
method for a range of GAM objects.
# S3 method for gam
family(object, ...)# S3 method for gamm
family(object, ...)
# S3 method for bam
family(object, ...)
# S3 method for list
family(object, ...)
a fitted model. Models fitted by mgcv::gam()
, mgcv::bam()
,
mgcv::gamm()
, and gamm4::gamm4()
are currently supported.
arguments passed to other methods.