get_microceph_range: Microcephaly risk range

Description Usage Arguments Value

View source: R/post_analyses.R

Description

Getting microcephaly risk curve range from a chain for a given location

Usage

1
2
get_microceph_range(chain, location = NULL, runs, limit = 0.001,
  scale = 1)

Arguments

chain

the MCMC chain

location

the given location to subset by, if present.

runs

number of samples to take

limit

the risk limit to consider as being at risk

scale

scales microcephaly risk curve by assumed reporting proportion

Value

a list with three vectors. 1: first day of significant risk, 2: last day of significant risk; 3: the number of days spent at risk


jameshay218/zikaProj documentation built on Jan. 9, 2020, 7:26 p.m.