se {vannstats}R Documentation

Standard Error Calculation

Description

This function calculates the standard error for a variable in a given data frame.

Usage

se(var, na.rm = TRUE)

Arguments

var

variable to read in.

na.rm

logical (default set to T). When set to na.rm = F, will include NA's in calculation.

Value

This function returns the standard error for a given variable

Examples

data <- mtcars

se(data$mpg)

[Package vannstats version 1.5.1.8 Index]