se: Calculate the standard error of the mean

View source: R/se.R

seR Documentation

Calculate the standard error of the mean

Description

Calculate the standard error of the mean of a vector of numbers, as SD(x) / sqrt(N).

Usage

se(x, na.rm = FALSE)

Arguments

x

numeric vector or matrix

na.rm

logical. Should missing values be removed?

Value

a single numeric value


mjdufort/miscHelpers documentation built on Jan. 18, 2025, 11:55 a.m.