qpois function
This function finds the number of successes that corresponds to a certain percentile based on an average rate of success, In other words, we can say as this function returns the value of the inverse Poisson cumulative density function
Syntax: qpois(p, lambda)
Parameters:
- p: percentile
- lambda: average rate of success
Example:
In this example, we are finding the probability to get the sales needed to make to be at the 80th percentile for sales in an hour,if the person makes 30 sales per hours in the R.
R
qpois (p=.80, lambda=30) |
Output:
[1] 35
A Guide to dpois, ppois, qpois, and rpois in R
In this article, we will be looking at a guide to the dpois, ppois, qpois, and rpois methods of the Poisson distribution in the R programming language.