visualize.discrete {visualize} | R Documentation |
Graphing function for Discrete Distributions.
Description
Handles how discrete distributions are graphed. Users should not use this
function. Instead, users should use link{visualize.it}
.
Usage
visualize.discrete(dist, stat = c(0, 1), params, section = "lower", strict)
Arguments
dist |
contains the distribution from
|
stat |
a statistic to obtain the probability from. When using the
"bounded" condition, you must supply the parameter as |
params |
A list that must contain the necessary parameters for each
distribution. For example, |
section |
Select how you want the statistic(s) evaluated via
|
strict |
Determines whether the probability will be generated as a
strict (<, >) or equal to (<=, >=) inequality. |
Author(s)
James Balamuta
See Also
visualize.it()
, visualize.binom()
,
visualize.geom()
, visualize.hyper()
,
visualize.nbinom()
, visualize.pois()
.
Examples
# Function does not have dist look up, must go through visualize.it
visualize.it(dist='geom', stat = c(2,4), params = list(prob = .75), section = "bounded",
strict = c(0,1))