median_CRI: A helpR function

Description Usage Arguments Examples

Description

This function allows you to easily paste a median and credible interval into a readable form for tables, graphs, text, etc...

Usage

1
median_CRI(x, na.rm = FALSE, digits = 2, cred = 0.95)

Arguments

x

A vector of numeric data to summarize

na.rm

Remove NAs from x

digits

Number of decimals to round to

cred

Level of credible interval between 0 and 1.

Examples

1
2
x <- rnorm(100)
median_CRI(x)

carter-allen/helpR documentation built on May 23, 2019, 6:06 p.m.