key_stats: Key Statistics (Unweighted)

Description Usage Arguments Value See Also Examples

View source: R/basic_stats.R

Description

key_stats returns the expectation/mean, population, interquartile range and sample variance and standard deviations from an unweighted vector (equal probabilities/distribution).

Usage

1

Arguments

x

vector, e.g. c(1,2,3,4)

Value

See Also

weighted_stats for calculating x with non-uniform distribution.

Examples

1
2
key_stats(c(1,2,3,4))
key_stats(c(2,3,4,4))

shunyao643/ab1202ay2021 documentation built on Feb. 26, 2021, 8:53 a.m.