get_by_smooth | R Documentation |
Extract an factor-by smooth by name
get_by_smooth(object, term, level)
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. |
A single smooth object, or a list of smooths if several match the named term.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.