generate_interval: Function to generate an interval object

Description Usage Arguments Value

Description

Function to generate transform into an interval object from numeric (or character) vectors.

Usage

1
generate_interval(lower, upper, sna = FALSE)

Arguments

lower

a vector with the lower values of a variable

upper

a vector with the upper values of a variable

sna

Boolean: if TRUE, NAs are kept as standard NAs. Otherwise they are turned into "-Inf;Inf".

Value

a character vector with the lower and upper bound values.


hmi documentation built on Oct. 23, 2020, 7:31 p.m.