nice_median: nice_median

View source: R/nice_median.R

nice_medianR Documentation

nice_median

Description

Prints a median with interquartile range.

Usage

nice_median(x, digits = 1)

Arguments

x

A numeric vector

digits

The number of digits to which values will be rounded

Value

A median with interquartile range in brackets

Examples

data(mtcars)
nice_median(mtcars$cyl)

simonthelwall/nicethings documentation built on Feb. 27, 2023, 3:15 p.m.