Description Usage Arguments Value Examples
Plot predicted versus observed values
1 2 |
predicted |
numeric vector of predictions |
observed |
numeric vector of observations |
perfect_line |
logical whether to plot a blue 45 degree line on which perfect predictions would fall |
outlier_idx |
integer indices of outliers to be labelled between the predicted and observed value pairs are labeled an outlier |
labs |
character labels for points, applied to a subset determined by the 'outlier_criterion' |
xlab |
character label for the x-axis, defaults to "Observed" |
ylab |
character label for the y-axis, defaults to "Predicted" |
title |
character title defaults to "" |
a ggplot object
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.