DescStat: Calculates descriptive statistics of 'x'.

Description Usage Arguments Value Note Examples

View source: R/stat_functions.R

Description

DescStat provides basic descriptive statistics of numeric input. Will remove all NA values prior to calculations & will issue warning when doing so.

Usage

1

Arguments

x

A numeric vector, preferably of length > 1.

Value

A list containing n (with & without NA values; NAll & N), min, max, mean, median, and variance.

Note

To get standard error run sqrt(Var / N).

Examples

1
2
DescStat(1:10)
DescStat(c(runif(10), NA))

jasondubois/sportfish documentation built on July 3, 2020, 1:01 p.m.