rma_bias_plot: Regression Residual and Bias Plot

Description Usage Arguments Details Value Author(s)

View source: R/rmar-plot.R

Description

Regression Residual and Bias Plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
rma_bias_plot(
  known,
  predicted,
  interval = NULL,
  label = NULL,
  scaling = 0.5,
  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.

scaling

a numeric between 0 and 1 defining a scaling of the y axis. Default is 0.5

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

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.