create_values: Create high and low values

View source: R/utility_functions.r

create_valuesR Documentation

Create high and low values

Description

This function takes in a vector (numeric or character) and outputs nicely formatted test values.

Usage

create_values(x, .quantile = c(0.975, 0.025), .places = 2)

Arguments

x

A numeric vector.

.quantile

The high and low quantiles for a numeric vector.

.places

The number of places to round a numeric vector to.

Value

For a numeric vector this function return high and low values. For a character vector this returns unique values.


jacobaro/danalyze documentation built on Oct. 20, 2022, 8:09 a.m.