Nothing
ardipper <- function(nsimu,n1,c2,c3,r2,q1){
# ACCEPT-REJECT ALGORITHM FOR THE OPEN POPULATION MODEL
echan=1:nsimu
for (i in 1:nsimu)
{
test <- T
while (test==T) {
y=rbinom(1,n1,q1)
if (runif(1) <= thresh(y,n1,c2,c3,r2,q1))
{
test <- F
echan[i] <- y
}
}
}
echan
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.