Learn R Programming

OOmisc (version 1.2)

sevennum: A function to calculate the 7-number summary.

Description

Calculates 7-number summmary (minimum, 10th quantile, 25th quantile, median, 75th quantile, 90th quantile, maximum) of a data.

Usage

sevennum(x)

Arguments

x
a vector, matrix or data frame for the univariate dataset.

Value

Returns a matrix of the output.

Examples

Run this code
x<-rnorm(1000,0,1)
sevennum(x)

Run the code above in your browser using DataLab