custom_range: obtain the range of vector

View source: R/utils.R

custom_rangeR Documentation

obtain the range of vector

Description

obtain the range of vector

Usage

custom_range(x)

Arguments

x

vector

Value

if min(x) == max(x), will return range(x)[1], else return character range(x)[1] - range(x)[2]

Examples

custom_range(x)

perlatex/tidyESI documentation built on Nov. 25, 2022, 11:14 p.m.