do.get.quantiles | R Documentation |
This function is provided to be overriden by developers. End users should instead call get.quantiles
do.get.quantiles(dist, p, lower.tail = T, log.p = F, n.sim = 1000)
dist |
An object of class Distribution or a subclass |
p |
A vector of probabilities for which to get the quantiles |
lower.tail |
If true, the returned values are the greatest values x for each variable such that |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
The default implementation takes random samples and pulls the sample quantiles from them.
The wrapper get.quantiles
takes care of formatting the return value and generating warnings for any improper variables
If there is only one variable in the distribution, a vector of quantiles for each value of p. If p is length one, a vector of quantiles for each variable in the distribution. If there is more than one variable in the distribution and p>1, a matrix with one row for each value of p, where each column represents a variable in the distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.