Description Usage Arguments Value Examples
View source: R/poisson_binomial.R
Poisson Test
| 1 2 3 4 | 
| x | number of events. A vector of length one or two. | 
| t | time base for event count. A vector of length one or two. | 
| r | comparison value (only applies to one sample) on scale of lambda. Ie, on the scale of lambda_raw/t. Defaults to 1 and should typically stay 1 unless you have a specific hypothesis. | 
| shra | the shape and rate parameters of the gamma prior. Defaults to c(1e-6, 1e-6) which is non-informative and yields a posterior mean typically equal to the maximum likelihood estimate. | 
| one.sample | Defaults to TRUE | 
| 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 | 
an rjags object
| 1 | poisTest()
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.