Internal function for funnel plot to build the control limits prior to plotting.
build_limits_lookup(
min_preds,
max_preds,
min_ratio,
max_ratio,
Poisson_limits,
OD_adjust,
Tau2,
method,
multiplier
)
Minimum predicted value for range of x-axis
Maximum predicted value for range of x-axis
Minimum ratio value for range of y-axis
Maximum ratio value for range of y-axis
TRUE/FALSE Draw Poisson distribution limits?
TRUE/FALSE Use overdispersion adjustment
If using OD_adjust, what is the Tau2 ("between" standard error) to use?
Which adjustment method is being used, SHMI or CQC?
Multiply ratio value by an amount. Default is 1, but some mortality ratios use 100, for example.
A data.frame with an index column and various control limits based on the index as an x-axis value.