oce (version 1.1-1)

threenum: Calculate min, mean, and max values

Description

This is a faster cousin of the standard fivenum function, used in generic summary functions for oce objects.

Usage

threenum(x)

Arguments

x

a vector or matrix of numerical values.

Value

A character vector of four values: the minimum, the mean, the maximum, and an indication of the number of data.

Examples

Run this code
# NOT RUN {
library(oce)
threenum(1:10)
# }

Run the code above in your browser using DataCamp Workspace