VOOZH about

URL: https://www.geeksforgeeks.org/r-language/compute-randomly-drawn-poisson-density-in-r-programming-rpois-function/

⇱ Compute Randomly Drawn Poisson Density in R Programming - rpois() Function - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Compute Randomly Drawn Poisson Density in R Programming - rpois() Function

Last Updated : 15 Jul, 2025
rpois() function in R Language is used to compute random density for poisson distribution.
Syntax: rpois(N, lambda) Parameters: N: Sample Size lambda: Average number of events per interval
Example 1: Output:
 [1] 4 6 2 6 5 2 6 5 3 3 4 6 4 7 7 2 5 6 2 5
Example 2: Output: 👁 Image
Comment
Article Tags:

Explore