combine.jags_sample: Combine JAGS samples

Description Usage Arguments Value

Description

Combine JAGS samples in multiple jags_sample objects by by using function fun

Usage

1
2
## S3 method for class 'jags_sample'
combine(object, ..., by = NULL, fun = sum)

Arguments

object

a jags_sample object.

...

additional jags_sample objects to add to object.

by

the variables to combine by (using merge).

fun

the function to using when combining samples (by default fun = sum).

Value

a jags_sample object #' @seealso combine, predict.jags_analysis and ddply_jags_sample


poissonconsulting/jaggernaut documentation built on Feb. 18, 2021, 11:10 p.m.