Learn R Programming

UncDecomp (version 1.0.1)

drange: Range(DEPRECATED)

Description

This function returns the difference of maximum and minimum of a given vector.

Usage

drange(x)

Arguments

x

a numeric vector.

Value

the difference of maximum and minimum of a given vector

Examples

Run this code
# NOT RUN {
(x <- rnorm(5))
# drange() is deprecated. Use U_range()
# drange(x)
# }

Run the code above in your browser using DataLab