View source: R/visualize.discrete.R
visualize.discrete | R Documentation |
Handles how discrete distributions are graphed. Users should not use this
function. Instead, users should use link{visualize.it}
.
visualize.discrete(dist, stat = c(0, 1), params, section = "lower", strict)
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. |
James Balamuta
visualize.it()
, visualize.binom()
,
visualize.geom()
, visualize.hyper()
,
visualize.nbinom()
, visualize.pois()
.
# 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.