get_smooth | R Documentation |
Extract an mgcv smooth by name
get_smooth(object, term)
object |
a fitted GAM model object. |
term |
character; the name of a smooth term to extract |
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.