range.dst | R Documentation |
Range returns a vector of length two, with the minimum and maximum values of the (support of the) distribution.
## S3 method for class 'dst'
range(distribution, ...)
distribution |
Distribution to compute range from. |
... |
Not used; vestige of the |
If there are no methods for the distribution's class,
the range is calculated
using eval_quantile()
at 0 and at 1.
Vector of length two, containing the minimum and maximum values of a distribution.
a <- dst_gpd(1, 0.5)
b <- dst_unif(0, 1)
c <- dst_norm(3, 4)
range(a)
range(b)
range(c)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.