do.calculate.cdf | R Documentation |
This function is provided to be overriden by developers. End users should instead call calculate.cdf
do.calculate.cdf(dist, q, lower.tail = T, log.p = F, n.sim = 1000 * dist@n.var)
dist |
An object of class Distribution or a subclass |
n.sim |
If the values are to be calculated by random sample generation, how many random samples to generate |
The default implementation generates random samples and takes the mean number of samples where all variables are <= the given values of q
The wrapper calculate.cdf
takes care of matching variables (so the 'q' passed to this function is clean) and formatting the return value and generating warnings for any improper variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.