Description Usage Arguments Value Examples
View source: R/poisson_binomial.R
One or Two Sample Binomial Tests
1 2 3 |
z |
a numeric value giving the number of succesful trials. If two sample, a vector such as c(1, 3) |
N |
a numeric value giving the total number of trials. If two sample, a vector such as c(5, 5) |
one.sample |
Defaults to TRUE |
shape |
the prior value for the shape parameters of the beta prior (defaults to c(0.50, 0.50)) |
iter |
the number of iterations. defaults to 10000. |
warmup |
number of burnin samples. defaults to 2500. |
adapt |
number of adaptation steps. defaults to 2500. |
chains |
number of chains. defaults to 4. |
thin |
the thinning interval. defaults to 3. |
method |
Defaults to "parallel". For an alternative parallel option, choose "rjparallel" or. Otherwise, "rjags" (single core run). |
cl |
Use parallel::makeCluster(# clusters) to specify clusters for the parallel methods. Defaults to two cores. |
... |
other arguments to run.jags |
a runjags object
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.