meanSd: Arithmetic mean ± sd

View source: R/funciones.R

meanSdR Documentation

Arithmetic mean ± sd

Description

Arithmetic mean ± sd

Usage

meanSd(x, digits = 2, na.rm = TRUE)

Arguments

x

A vector of numeric values.

digits

Number of decimal digits for showing the mean and sd of x.

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

Value

A string with the value of mean ± sd of the vector x.

Examples

meanSd(rnorm(50))


angeloSdP/reportingTools documentation built on Dec. 25, 2024, 11:19 a.m.