c.bayesTest {bayesAB} | R Documentation |
Concatenate bayesTest objects
Description
Concatenate method for objects of class "bayesTest".
Usage
## S3 method for class 'bayesTest'
c(..., errorCheck = TRUE)
Arguments
... |
|
errorCheck |
check that objects can be concatenated? Setting this to |
Value
A bayesTest
object with concatenated posteriors.
Examples
A_pois <- rpois(100, 5)
B_pois <- rpois(100, 4.7)
AB1 <- bayesTest(A_pois, B_pois, priors = c('shape' = 25, 'rate' = 5), distribution = 'poisson')
AB2 <- bayesTest(A_pois, B_pois, priors = c('shape' = 25, 'rate' = 5), distribution = 'poisson')
c(AB1, AB2)
[Package bayesAB version 1.1.3 Index]