This function computes the sample range.
logical vector that determines whether the missing values should be removed or not.
logical vector that determines whether non-finite values should be removed or not.
"The range is the difference between the largest number and the smallest number in the set." Source: Onwubiko page 176.
The following statements are from
"If na.rm is
NaN values in any of the
arguments will cause
NA values to be returned, otherwise
values are ignored."
"If finite is
TRUE, the minimum and maximum of all finite values is
finite = TRUE includes
na.rm = TRUE."
ranges as the difference between the maximum and minimum values in
as a numeric
vector. Unlike the
range, ranges can't
take character vectors as arguments, only numeric vectors.
Chinyere Onwubiko, An Introduction to Engineering, Mission, Kansas: Schroff Development Corporation, 1997, page 176.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.