Simple wrapper for making a qq-plot of the residuals with ggplot.
1 | CreateQQPlot(data, dir = "./", save.plot = TRUE)
|
data |
data.frame object. Data as prepared in RunProject.R. Regressor values, predicted response, and residuals. No default. |
dir |
Character vector of lenght 1. Directory in which to store the plot. Ignored if save.plot is FALSE. Defaults to "." |
save.plot |
Logical vector of length 1. If TRUE the plot is saved to disk. Defaults to TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.