get_inc_bin: return the bin name for a given incidence

Description Usage Arguments Details Value

View source: R/utils.R

Description

return the bin name for a given incidence

Usage

1
get_inc_bin(inc, return_character = TRUE)

Arguments

inc

numeric incidence level

return_character

logical: if true, return type is character (bin name) if false, return type is numeric representation of bin

Details

assumes max inc bin is 13 and bins are 0.1 in size.

Value

vector giving the bin name of the input incidence.


reichlab/2017-2018-cdc-flu-contest documentation built on Sept. 25, 2018, 3:24 a.m.