meansd: Compuate mean and (finite-sample corrected) standard...

Description Usage Arguments Value Examples

View source: R/meansd.R

Description

Compuate mean and (finite-sample corrected) standard deviation

Usage

1
meansd(x, na.rm = TRUE)

Arguments

x

A numeric vector

na.rm

Logical, whether to remove NA values in x.

Value

A named list with the mean and the standard deviation

Examples

1
2
x <- sample(1:100)
meansd(x)

JanaJarecki/cognitiveutils documentation built on Sept. 9, 2020, 9:11 a.m.