Learn R Programming

onewaytests (version 2.5)

describe: Descriptive Statistics

Description

describe produces basic descritive 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)

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 the formula formula

Value

Returns a data.frame of output.

Examples

Run this code
# NOT RUN {
library(onewaytests)

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

# }

Run the code above in your browser using DataLab