Learn R Programming

EpiNow2 (version 1.7.1)

map_prob_change: 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)

Value

A character variable.

Arguments

var

Numeric variable to be categorised

Examples

Run this code
var <- seq(0.01, 1, 0.01)
var

map_prob_change(var)

Run the code above in your browser using DataLab