Learn R Programming

onewaytests (version 3.0)

describe: Descriptive Statistics

Description

describe produces basic descriptive statistics including sample size, mean, standard deviation, median, minimum value, maximum value, 25th quantile, 75th quantile, skewness, kurtosis, the number of missing value.

Usage

describe(formula, data)

Value

Returns a data.frame of output.

Arguments

formula

a formula of the form lhs ~ rhs where lhs gives the sample values and rhs the corresponding groups.

data

a tibble or data frame containing the variables in formula.

Author

Osman Dag

Examples

Run this code

library(onewaytests)

describe(Sepal.Length ~ Species, data = iris)

Run the code above in your browser using DataLab