get_by_smooth: Extract an factor-by smooth by name
Description
Extract an factor-by smooth by name
Usage
get_by_smooth(object, term, level)
Value
A single smooth object, or a list of smooths if several match the
named term.
Arguments
- object
a fitted GAM model object.
- term
character; the name of a smooth term to extract.
- level
character; which level of the factor to exrtact the smooth
for.