Q | R Documentation |
Q
Quantile function for multiple distributions.
Q(
p,
dist = "normal",
lower.tail = TRUE,
two.sided = FALSE,
rounding = 2,
gui = "plot",
mfrow = c(1, 2),
type = "both",
...
)
p |
probability. The |
dist |
distribution to use. The default is |
lower.tail |
logical; if |
two.sided |
logical. if |
rounding |
numerical; it represents the number of decimals for calculating the probability. |
gui |
default is |
mfrow |
numerical vector. Considering the arguments |
type |
character argument. The default is |
... |
additional parameters according to the chosen distribution. |
The expression of quantile function is given by:
Q(p)=\inf {x\in \mathbb{R}: p \le F(x)},
where p
is the first argument of Q()
and x
its return value;
Q
returns the quantile and its graphical representation for a given distribution. The output is a vector.
# Attaching package
library(leem)
## Not run:
Q(p = 0.8, dist = "normal", mean = 200, sd=30)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.