Description Usage Arguments Value Author(s)
View source: R/spline_values.R
Function computes the spline values for a smooth object computed from a GAM model produced by mgcv::gam()
1 | spline_values(smooth_obj = NULL, new_data = NULL, gam_model = NULL)
|
smooth_obj |
An object of class “mgcv.smooth” produced by |
new_data |
Either a data frame of observed data or data to be predicted. |
gam_model |
An object of class “gam” produced by |
A data frame of fitted spline vales and their associated standard errors.
Rick Dean
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.