Identify a smooth term by its label
Usage
which_smooths(object, ...)
# S3 method for default
which_smooths(object, ...)
# S3 method for gam
which_smooths(object, terms, ...)
# S3 method for bam
which_smooths(object, terms, ...)
# S3 method for gamm
which_smooths(object, terms, ...)
Arguments
- object
a fitted GAM.
- ...
arguments passed to other methods.
- terms
character; one or more (partial) term labels with which to identify
required smooths.