View source: R/visualize.pois.R
| visualize.pois | R Documentation | 
Generates a plot of the Poisson distribution with user specified parameters.
visualize.pois(stat = 1, lambda = 3.5, section = "lower", strict = FALSE)
| stat | a statistic to obtain the probability from. When using the
"bounded" condition, you must supply the parameter as  | 
| lambda | lambda value of the Poisson Distribution. | 
| 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() , dpois().
# Evaluates lower tail.
visualize.pois(stat = 1, lambda = 2, section = "lower", strict = FALSE) 
# Evaluates bounded region.
visualize.pois(stat = c(1,3), lambda = 3, section = "bounded", strict = c(0,1))
# Evaluates upper tail.
visualize.pois(stat = 1, lambda = 2, section = "upper", strict = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.