Nothing
#
# Calculate number of cases rejected for repeated simulation
# of Poisson background and responses grouped into categories.
#
calcNumRejects<-function(bkg,resps,numRespsPerCat,numSims,calcPValFnc,sigLevel=0.05,...) {
numRejected<-0
for (i in 1:numSims) {
sim<-simCatResp(bkg,resps,numRespsPerCat)
pVal<-calcPValFnc(sim,...)
if (pVal<sigLevel) numRejected = numRejected + 1
}
numRejected
}
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.