se: standard error function

View source: R/se.R

seR Documentation

standard error function

Description

This function calculates the standard error for a vector because R for some reason doesn't.

Usage

se(x)

Arguments

x

A numeric vector

Value

standard error value

Note

NAs are removed from the calculation

Examples

se(1:10)
se(c(1:10, NA))
se(c(NA, NA, 10))
se(c(NA, NA, 10, 20))

Sz-Tim/sevcheck documentation built on Feb. 1, 2024, 12:39 a.m.