err_tdy_unit: Check and tidy time unit

Description Usage Arguments See Also Examples

View source: R/err_tdy.R

Description

Check and tidy time unit

Usage

1

Arguments

x

A string.

name

The name for x that will be used in error messages.

See Also

chk_member_unit

Examples

1
2
x <- "5 years"
err_tdy_unit(x, name = "x")

johnrbryant/demcheck documentation built on Dec. 31, 2021, 11:57 a.m.