Learn R Programming

OneTwoSamples (version 1.1-0)

data_outline: Compute various descriptive statistics

Description

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

Usage

data_outline(x)

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.

Arguments

x

A numeric vector.

Author

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

References

Zhang, Y. Y., Wei, Y. (2013), One and two samples using only an R funtion, tools:::Rd_expr_doi("10.2991/asshm-13.2013.29").

Examples

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

Run the code above in your browser using DataLab