calibration_plot: calibration_plot helper function

View source: R/calibration_plot.R

calibration_plotR Documentation

calibration_plot helper function

Description

Internal function to carry out the plotting of the calibrations curves.

Usage

calibration_plot(plotlist, coef_hyper, coef_cubic, plot_textsize, minmax)

Arguments

plotlist

A ggplot object containing a regression plot without regression curves (output of regression_utility()).

coef_hyper

A list containing the regression parameters of the hyperbolic regression equation.

coef_cubic

A list containing the regression parameters of the cubic regression equation.

plot_textsize

A integer value. The textsize of the resulting plots (default: 16).

minmax

A logical, indicating which equations are used for BiasCorrection (default: FALSE). If TRUE, equations are used that include the respective minima and maxima of the provided data.

Value

The function returns a list containing calibration plots.


rBiasCorrection documentation built on June 21, 2022, 1:05 a.m.