Learn R Programming

oce (version 0.9-18)

threenum: Calculate min, mean, and max values

Description

Calculate min, mean, and max values

Usage

threenum(x)

Arguments

x
a vector or matrix of numerical values.

Value

  • A vector of three values, the minimum, the mean, and the maximum.

Details

This is a faster cousin of the standard fivenum function.

Examples

Run this code
library(oce)
threenum(1:10)

Run the code above in your browser using DataLab