map_prob_change: Categorise the Probability of Change for Rt

View source: R/utilities.R

map_prob_changeR Documentation

Categorise the Probability of Change for Rt

Description

[Stable] Categorises a numeric variable into "Increasing" (< 0.05), "Likely increasing" (<0.4), "Stable" (< 0.6), "Likely decreasing" (< 0.95), "Decreasing" (<= 1)

Usage

map_prob_change(var)

Arguments

var

Numeric variable to be categorised

Value

A character variable.

Examples

var <- seq(0.01, 1, 0.01)
var

map_prob_change(var)

EpiNow2 documentation built on Sept. 26, 2023, 5:11 p.m.