Learn R Programming

LearningRlab (version 2.4)

poisson_: Poisson Distribution Calculus Function

Description

This function calculates the Poisson distribution of experiment.

Usage

poisson_(k,lam)

Value

Numeric, the pearson correlation of two numbers.

Arguments

k

Should be a numbers

lam

Should be a numbers

Author

Jose Manuel Gomez Caceres, josemanuel.gomezc@edu.uah.es
Juan Jose Cuadrado, jjcg@uah.es
Universidad de Alcala de Henares

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

    #data creation
    lam = 2
    k = 3
    poisson_(k,lam)
  

Run the code above in your browser using DataLab