
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to create a plot of Poisson distribution in R?
The Poisson distribution is a discrete distribution that has only one parameter named as lambda and it is the rate parameter. The rate parameter is defined as the number of events that occur in a fixed time interval. To create a plot of Poisson distribution in R, we can use the plot function with the density of the Poisson distribution using dpois function.
Example
plot(dpois(x=1:50,lambda=3))
Output
Example
plot(dpois(x=1:50,lambda=3),type="l")
Output
Example
plot(dpois(x=1:50,lambda=3),type="b")
Output
- Related Questions & Answers
- How to create a plot of binomial distribution in R?
- How to create a plot of empirical distribution in R?
- How to create an exponential distribution plot in R?
- How to create a tensor whose elements are sampled from a Poisson distribution in PyTorch?
- How to create a staircase plot in R?
- How to create a sample or samples using probability distribution in R?
- How to create ACF plot in R?
- How to create a plot in R with gridlines using plot function?
- How to create a plot in R with a different plot window size using plot function?
- How to show the Logarithmic plot of a cumulative distribution function in Matplotlib?
- How to create a standard normal distribution curve with 3-sigma limits in R?
- How to create a dot plot using ggplot2 in R?
- How to create a plot with cross sign in R?
- How to create a plot using rgb colors in R?
- How to create a plot in base R without margins?
Advertisements