Names of smooths in a GAM
smooths(object) ## Default S3 method: smooths(object) ## S3 method for class 'gamm' smooths(object)
object
a fitted GAM or related model. Typically the result of a call to mgcv::gam(), mgcv::bam(), or mgcv::gamm().
mgcv::gam()
mgcv::bam()
mgcv::gamm()