| compQ | R Documentation |
Computes the quantile of a distributionH object at a given level,
i.e. the value Q(p) = F^{-1}(p) of its quantile function.
compQ(object, p)
object |
A |
p |
A number between 0 and 1. |
A number, the quantile of order p.
compP
mydist <- distributionH(x = c(1, 2, 3, 10), p = c(0, 0.1, 0.5, 1))
compQ(mydist, 0.5) # the median
compQ(mydist, 0) # the minimum
compQ(mydist, 1) # the maximum
compQ(mydist, 0.25) # the first quartile
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.