data_outline: Compute various descriptive statistics

View source: R/data_outline.R

data_outlineR Documentation

Compute various descriptive statistics

Description

Compute various descriptive statistics of x, such as mean, median, skewness, and kurtosis, etc.

Usage

data_outline(x)

Arguments

x

A numeric vector.

Value

A data.frame with variables:

N

The length.

Mean

The mean.

Var

The variance.

std_dev

Standard deviation.

Median

The median.

std_mean

The standard error of the sample mean.

CV

The coefficient of variation.

CSS

The corrected sum of squares.

USS

The uncorrected sum of squares.

R

The extreme difference.

R1

The half extreme difference, or the difference of upper quartile and lower quartile.

Skewness

The coefficient of skewness.

Kurtosis

The coefficient of kurtosis.

row.names

1.

Author(s)

Ying-Ying Zhang (Robert) robertzhangyying@qq.com

References

Zhang, Y. Y., Wei, Y. (2013), One and two samples using only an R funtion, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.2991/asshm-13.2013.29")}.

Examples

x=rnorm(10, mean = 1, sd = 0.2); x
data_outline(x)

OneTwoSamples documentation built on March 31, 2023, 11:49 p.m.