x=5; n=5; alp=0.05;e=0.5
PlotciEXx(x,n,alp,e) #Mid-p
x=5; n=5; alp=0.05;e=1 #Clopper Pearson
PlotciEXx(x,n,alp,e)
x=5; n=5; alp=0.05;e=c(0.1,0.5,0.95,1) #Range including Mid-p and Clopper-Pearson
PlotciEXx(x,n,alp,e)
Run the code above in your browser using DataLab