git.schokokeks.org
Repositories
Help
Report an Issue
SS2012-StatisticalMethods.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
6b93c51
Branches
Tags
master
SS2012-StatisticalMethods.git
examples
Lecture2c.R
new fiels
Michi
commited
6b93c51
at 2012-06-03 16:52:14
Lecture2c.R
Blame
History
Raw
# EXAMPLE 5: Introduction to Statistics for Astrophysicists # SS 2012 # JOCHEN WELLER # BINOMIAL PROBABILITY N=20 r=seq(0,N,by=1) p=0.1 plot(r,dbinom(r,N,p),type='h',xlim=c(0,20),xlab='r',ylab='f(r;N,p)',main=paste("N=",N,"; p=",p))