powered by
Calculates the range of values of the observations in the histogram dataset
# S4 method for HistDat range(x, ..., na.rm = FALSE)
An instance of the class HistDat
Additional arguments to pass to range()
range()
Passed verbatim to base::range()
base::range()
A numeric of length 2, indicating the minimum and maximum value of the observations
# NOT RUN { hd <- HistDat(vals = 1:3, counts = c(1, 2, 1)) range(hd) # returns 1 3 # }
Run the code above in your browser using DataLab