Function to predict for new data based on fitted gam object.
Output structure of
A numeric vector of predicted values corresponding to rows of newdata. If gam object is NULL, NULL is returned instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.