CCDiff: Contrasts of parameters simulated in BUGS

Description Usage Arguments Details Value

Description

Calculate linear combinations of parameters simulated in BUGS. This is a test version for internal use!

Usage

1
2
CCDiff(bugs, dat, cmat = NULL, 
type = c("Dunnett", "Tukey", "Sequen", "Williams", "Changepoint"))

Arguments

bugs

an object of class bugs, containing N values of the joint posterior distribution of in an N-times-P matrix named muvec

dat

an object of R2Bugsdat1w

cmat

a contrast matrix of dimensions M-times-P

type

a single character string, which type of comparisons to perform, if cmat is not given; this argument is ignored if cmat ist specified

Details

Testversion, for internal use.

Value

An object of class "CCDiff", a list with elements

chains

the N-times-M matrix of the transformed joint posterior distribution

bugs

the bugs object, as input

dat

the object of class "R2Bugsdat1w", as input

cmat

the M-times-P contrast matrix


BSagri documentation built on May 2, 2019, 8:29 a.m.

Related to CCDiff in BSagri...