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