se.m: Standard Error of a mean

Description Usage Arguments Value Examples

View source: R/ScriptHomemadeFunctions.R

Description

Computes the standard error of a sample mean. Useful to add error bars on plots or to compute intervals of confidence.

Usage

1
se.m(x)

Arguments

x

a vector

Value

The standard error of the input vector's mean.

Examples

1
2
myvector <- rnorm(n = 100, mean = 48, sd = 16)
se.m(x = myvector)

mrelnoob/airpoumpoum documentation built on Feb. 11, 2020, 8:19 p.m.