Learn R Programming

wasim (version 1.0)

span: Calculate the span/range of a time series

Description

This function has been implemented for a simpler call of apply.

Usage

span(x)

Arguments

x
A vector

Value

  • diff(range(x,na.rm=TRUE))

See Also

diagnostic

Examples

Run this code
data(models_dawson,package="wasim")
   span(models_dawson[,1])

Run the code above in your browser using DataLab