Names of smooths in a GAM
Usage
# S3 method for class 'gamlss'
smooths(object, ...)
smooths(object, ...)
# Default S3 method
smooths(object, ...)
# S3 method for class 'gamm'
smooths(object, ...)
# S3 method for class 'gamm4'
smooths(object, ...)Arguments
- object
a fitted GAM or related model. Typically the result of a call to
mgcv::gam(),mgcv::bam(), ormgcv::gamm().- ...
Arguments passed to methods.
Details
For GJRM GAMLSS models, labels follow equation and smooth order.
Labels repeated in later equations receive suffixes such as s.1(x).
These labels can be supplied to draw() or smooth_estimates() to select
smooths across equations.
