Plot residuals of a model – need to implement for all models, but should work for base model
1 | residual_plot(samples, file_path, width = 750, height = 500)
|
samples |
(data.frame) output of clean_chains. |
file_path |
(character) file path to store the output jpeg file. |
width |
(numeric) the width of the output jpeg file (in px). |
height |
(numeric) the height of the output jpeg file (in px). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.