Extract an mgcv smooth given its position in the model object
get_smooths_by_id(object, id)# S3 method for gam
get_smooths_by_id(object, id)
# S3 method for scam
get_smooths_by_id(object, id)
# S3 method for gamm
get_smooths_by_id(object, id)
# S3 method for gamm4
get_smooths_by_id(object, id)
# S3 method for list
get_smooths_by_id(object, id)
a fitted GAM model object.
numeric; the position of the smooth in the model object.