ComputeSEM: Compute standard error of the mean for an input vector

Description Usage Arguments Value Examples

View source: R/ComputeSEM.R

Description

Compute standard error of the mean for an input vector

Usage

1

Arguments

x

Input vector (any NA will be ignored).

Value

Standard error of the mean (SEM) of x.

Examples

1
2
3
4
5
6
7
  ## random vector:
  ComputeSEM(rnorm(100))
  
  ## with missing entries:
  x <- runif(1000)*5
  x[sample(1000, 50)] <- NA
  ComputeSEM(x)

btaschler/mcap documentation built on May 26, 2019, 1:31 a.m.