visualize.geom {visualize} | R Documentation |
Visualize Geometric Distribution
Description
Generates a plot of the Geometric distribution with user specified parameters.
Usage
visualize.geom(stat = 1, prob = 0.3, section = "lower", strict = FALSE)
Arguments
stat |
a statistic to obtain the probability from. When using the
"bounded" condition, you must supply the parameter as |
prob |
probability of picking object. |
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
Examples
# Evaluates lower tail.
visualize.geom(stat = 1, prob = 0.5, section = "lower", strict = FALSE)
# Evaluates bounded region.
visualize.geom(stat = c(1,3), prob = 0.35, section = "bounded", strict = c(0,1))
# Evaluates upper tail.
visualize.geom(stat = 1, prob = 0.5, section = "upper", strict = 1)
[Package visualize version 4.5.0 Index]