rma_accuracy_plot: Regression Accuracy Plot

Description Usage Arguments Details Value Author(s)

View source: R/rmar-plot.R

Description

Regression Accuracy Plot

Usage

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
)

Arguments

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

Details

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.

Value

a ggplot2 graphical object

Author(s)

David Senhora Navega


dsnavega/rmar documentation built on Dec. 20, 2021, 2:12 a.m.