std.error: Calculates the standard error

Description Usage Arguments Author(s) Examples

Description

Calculates the standard error but takes into account whether NAs are present or not

Usage

1

Arguments

x

vector of values to calculate standard error for (must be numeric)

na.action

whether there are NAs in the data or not. Defaults to FALSE. TRUE means that both the row including NA is excluded so both the number of samples and the mean is affected

Author(s)

Daniel Padfield

Examples

1
2
3
4
5
6
y <- c(1,4,6,7,91,3,45,6,7,8,345,232,43423,5436, NA)

std.error(y)
NA
std.error(y, TRUE)
3091.521

padpadpadpad/TeamPhytoplankton documentation built on May 24, 2019, 5:59 p.m.