incdec: Returns a character string that quantifies a change.

View source: R/incdec.R

incdecR Documentation

Returns a character string that quantifies a change.

Description

Returns a character string that quantifies a change.

Usage

incdec(value, tense)

Arguments

value

value to be quantified

tense

which tense you want the quantifying string to be in. Either "past", "present", "singular" or "plural".

Examples

incdec(-1, "past")  # returns "decreased by"

moj-analytical-services/RAP_code_library documentation built on Aug. 19, 2023, 2:41 p.m.