map_prob_change: Categorise the Probability of Change for Rt

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

Categorises a numeric variable into "Increasing" (< 0.05), "Likely increasing" (<0.2), "Unsure" (< 0.8), "Likely decreasing" (< 0.95), "Decreasing" (<= 1)

Usage

1

Arguments

var

Numeric variable to be categorised

Value

A character variable.

Examples

1
2
3
4
5
var <- seq(0.01, 1, 0.01)

var
 
map_prob_change(var)

epiforecasts/EpiNow documentation built on Oct. 26, 2020, 2:38 p.m.