Description Usage Arguments Details Value Author(s)
Regression Accuracy Plot
1 2 3 4 5 6 7 8 9 | rma_accuracy_plot(
known,
predicted,
interval = NULL,
label = NULL,
breaks = 10,
base_size = 12,
digits = 3
)
|
known |
a numeric vector |
predicted |
a numeric vector or matrix. See Details. |
interval |
minimum and maximum value of prediction domain. Should be supplied as vector of with two elements. If not supplied is assess from the known argument. |
label |
a character defining an alternative label for the x axis. |
breaks |
breaks on plot axis. Default is 10. |
base_size |
ggplot parameter to control text size in plots. Default is 12 |
digits |
number of digits controlling floats precision. Default is 3 |
If predicted is a matrix organized it should be organized as follows: 3 columns where the first column stores the point estimate of the model and the second and third columns store the lower and upper bounds of the predictive interval if the algorithm is able to produce one.
a ggplot2 graphical object
David Senhora Navega
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.