se: Calculate the standard error of the mean

View source: R/np_utility.R

seR Documentation

Calculate the standard error of the mean

Description

se takes a numeric vector and returns the corresponding standard error of the mean

Usage

se(x)

Arguments

x

numeric vector

Details

This is a convenience function internal to NicePlots and is not exported. If x is a numeric vector, SD is the standard deviation of x and N is the length of x then the standard error (se) of the mean may be caclulated as:

se = \frac{SD}{\sqrt{N}}

Value

a double corresponding to the standard error of the mean

See Also

sd

Examples

data(iris)
#se(iris$Sepal.Length)

ZachHunter/NicePlots.R documentation built on Sept. 23, 2023, 4:04 a.m.