Learn R Programming

LearningRlab (version 2.2)

poisson_: Poisson Distribution Calculus Function

Description

This function calculates the Poisson distribution of experiment.

Usage

poisson_(k,lam)

Arguments

k

Should be a numbers

lam

Should be a numbers

Value

Numeric, the pearson correlation of two numbers.

Details

To calculate the Poisson distribution, the user should give two number ( the number of times the phenomenon and the number of occurrences). The result is a discrete probability distribution that expresses, from a mean frequency of occurrence, the probability that a certain number of events will occur during a certain period of time. The Poisson distribution formule is the following:

Examples

Run this code
# NOT RUN {
    #data creation
    lam = 2
    k = 3
    poisson_(k,lam)
  
# }

Run the code above in your browser using DataLab