Skip to contents

Summary Plot of Observed Event Rates/Proportions

Usage

createQtlPlot(
  data,
  metric = p,
  siteData = NULL,
  targetRange = NULL,
  actionLimits = NULL,
  warningLimits = NULL,
  observedMetric = NULL,
  siteSize = NULL,
  siteMetric = NULL
)

Arguments

data

A tibble containing MCMC samples for which the density is required

metric

The column in data that contains the sampled values of the metric being evaluated

siteData

A tibble containing the observed site specific data

targetRange

A tibble containing the lower and upper limits of the target range for the metric

actionLimits

a list or named vector defining the action limits that will appear on the graph. See [shadeRange] for details. May be NA or NULL.

warningLimits

a list or named vector defining the action limits that will appear on the graph. See [shadeRange] for details. May be NA or NULL.

observedMetric

the observed value of the metric

siteSize

The column in siteData that defines the sample size at each site. Uses tidyselect. Ignored if siteData is NULL

siteMetric

The column in siteData that defines the KRI at the site. Uses tidyselect. Ignored if siteData is NULL.