Learn R Programming

IsoCorr (version 1.0)

st.err: Standard Error

Description

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

Usage

st.err(x, na.rm = FALSE)

Arguments

x

A numeric vector or an R object which is coercible to one.

na.rm

A logical value indicating whether NA values should be stripped before the computation proceeds.

Examples

Run this code
# NOT RUN {
## Example 1
x <- c(5.2,6,5.5,4.1,8)
st.err(x)

## Example 2
x <- c(5.2,6,NA,4.1,8,NA)
st.err(x, na.rm = TRUE)
# }

Run the code above in your browser using DataLab