plotCalibration: Plot calibration

View source: R/plotCalibration.R

plotCalibrationR Documentation

Plot calibration

Description

Plot calibration

Usage

plotCalibration(
  x,
  plot_errorbar = T,
  plot_smooth = T,
  group = NULL,
  title = NULL
)

Arguments

x

tibble with the computed mean_pred and obs_frac per model

plot_errorbar

Plot error bar (default = TRUE)

plot_smooth

Plot smooth lines (default = TRUE)

group

Variable to group coordinates

title

Plot title

Value

A ggplot containing the calibration plot


mikeniemant/nbs documentation built on June 23, 2022, 4:52 a.m.