ggplot2 implementation of termplot with partial residuals, using visreg::visreg()
| 1 | ggTermPlot(object, ...)
 | 
| object | A model object that visreg() recognizes | 
| xvar | Which term to inspect. Currently only works for one at a time. | 
| data | If object$call$data isn't in the model environment, it can be supplied using this | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.