birthday: Calcola la probabilita' di compleanni coincidenti

Description Usage Arguments See Also Examples

Description

Questa funzione risolve il problema del calcolo della probabilita' di trovare due persone in un gruppo di n nate lo stesso giorno.

Usage

1

Arguments

n

numero di persone nel gruppo

See Also

pbirthday.

Examples

1
2
3
4
n <- c(5,10,15,20,21,22,23,24,25,30,50,60,
       70,80,90,100,200,300,365)
for(i in n)
 cat("\n n=",i,"P(A)=",birthday(i))


Search within the labstatR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.