paste_mean: Paste mean

paste_meanR Documentation

Paste mean

Description

Creates a formatted mean with standard deviation from numeric data.

Usage

paste_mean(x, less.than.one = FALSE, digits = 1)

Arguments

x

A numeric. Data to summarize.

less.than.one

A logical. Indicates a mean that rounds to 0 should be printed as <1.

digits

An integer. Number of digits to round to.

Value

A character vector of the mean(s) with standard deviation(s).

Examples

paste_mean(mtcars$mpg)

utile.tools documentation built on Feb. 16, 2023, 10:08 p.m.