Description Usage Arguments Value Author(s)
View source: R/evaluate_smooth.R
Evaluate a smooth term and return its corresponding spline values
1 2 3 4 5 6 | evaluate_smooth(
gam_model = NULL,
smooth_term = NULL,
n_points = 100,
new_data = NULL
)
|
gam_model |
A |
smooth_term |
A string that identifies the smooth to be evaluated. |
n_points |
An integer that sets the number of points to be evaluated. |
newdata |
A vector or data frame of points at which to evaluate the points. |
A data frame of the evaluated smooth spline values
Rick Dean
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.