powered by
Extract an mgcv smooth by name
get_smooth(object, term)
A single smooth object, or a list of smooths if several match the named term.
a fitted GAM model object.
character; the name of a smooth term to extract