span {wasim}R Documentation

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))

Author(s)

Dominik Reusser

See Also

diagnostic

Examples

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


[Package wasim version 1.0 Index]