get_by_smooth {gratia} | R Documentation |
Extract an factor-by smooth by name
Description
Extract an factor-by smooth by name
Usage
get_by_smooth(object, term, level)
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. |
Value
A single smooth object, or a list of smooths if several match the named term.
[Package gratia version 0.9.2 Index]