get_smooth {gratia} | R Documentation |
Extract an mgcv smooth by name
Description
Extract an mgcv smooth by name
Usage
get_smooth(object, term)
Arguments
object |
a fitted GAM model object. |
term |
character; the name of a smooth term to extract |
Value
A single smooth object, or a list of smooths if several match the named term.
[Package gratia version 0.9.2 Index]