estimate_lb_med_ub: Estimates the 2.5, 50 and 97.5 percentiles and much more

Description Usage Arguments

View source: R/interpretation_processing.R

Description

Various hacks required to get the numerical integration and optimization working.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
estimate_lb_med_ub(
  fun,
  range_start,
  range_end,
  verbose = FALSE,
  label = "unlabeled",
  warn_low_AOC = FALSE,
  extra_tiles = NULL,
  date_splits = NULL
)

Arguments

fun

The function whose percentiles are required

range_start

Start of interval containing the percentiles

range_end

End of interval containing the percentiles

verbose

Should verbose output be printed?

label

A label to print out with warnings. ptid is a good candidate

warn_low_AOC

Should a warning be issued when AOC is low? default = FALSE

extra_tiles

A vector of additional percentiles to compute. If NULL, this process will be skipped.

date_splits

Compute the AOC to the left of each of the dates listed in this parameter. If NULL, this process will be skipped.


philliplab/tsic documentation built on June 26, 2020, 7:55 p.m.