powered by
A function to return the range of a vector.
rw_range(.x)
A numeric vector
Steven P. Sanderson II, MPH
A function to return the range of a vector. It uses max(.x) - min(.x) as the basis of the function.
max(.x) - min(.x)
Other Vector Function: cgmean(), chmean(), ckurtosis(), cmean(), cmedian(), crange(), csd(), cskewness(), cvar(), euclidean_distance(), kurtosis_vec(), skewness_vec()
cgmean()
chmean()
ckurtosis()
cmean()
cmedian()
crange()
csd()
cskewness()
cvar()
euclidean_distance()
kurtosis_vec()
skewness_vec()
x <- mtcars$mpg rw_range(x)
Run the code above in your browser using DataLab