sem: Standard error of the mean

View source: R/util.R

semR Documentation

Standard error of the mean

Description

Computes the standard error of the mean of the values in x. If na.rm is TRUE then missing values are removed before computation proceeds.

Usage

sem(x, na.rm = FALSE)

Arguments

x

A numeric vector

na.rm

Logical indicating whether missing values should be removed.

Examples

x <- rnorm(100)
sem(x)

langcog/langcog-package documentation built on March 28, 2024, 9:52 a.m.