View source: R/models.R View source: R/cplm.R
residsPlot | R Documentation |
Note that this is a generic, currently with a method for S3 class 'cplm'. The vision is that once variable base degree day & Bayesian methodologies are developed there will also be methods to plot the residuals from those models.
residsPlot(x)
x |
a 'cplm' object |
var |
variable name to plot against in the dataset used to fit the model. |
A ggplot object
plot.cplm
data(ecotope) mod <- cplm(kwhd ~ oat, data = ecotope) residsPlot(mod, "dateEnd")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.