Calculates difference between the largest and the smallest value in a vector. See univar for details.

range(...)

Arguments

...

parameters to be passed to univar function

Value

a numeric value with calculated range