sem: sem

View source: R/CodeAndRoll2.R

semR Documentation

sem

Description

Calculates the standard error of the mean (SEM) for a numeric vector (it excludes NA-s by default).

Usage

sem(x, na.rm = TRUE)

Arguments

x

A numeric vector.

na.rm

Should NA values be removed before calculation? Defaults to TRUE.

Value

The standard error of the mean of the input vector.

Examples

sem(1:5)


vertesy/CodeAndRoll2 documentation built on Nov. 20, 2024, 5:23 a.m.