How many smooths in a fitted model
How many smooths in a fitted model
n_smooths(object) ## Default S3 method: n_smooths(object) ## S3 method for class 'gam' n_smooths(object) ## S3 method for class 'gamm' n_smooths(object) ## S3 method for class 'bam' n_smooths(object)
object |
a fitted GAM or related model. Typically the result of a call
to |
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.