Learn R Programming

BCEA (version 2.2-3)

CreateInputs: CreateInputs

Description

Creates an object containing the matrix with the parameters simulated using the MCMC procedure (using JAGS or BUGS) and a vector of parameters (strings) that can be used to perform the expected value of partial information analysis

Usage

CreateInputs(x)

Arguments

x
A rjags or bugs object, containing the results of a call to either "jags" (under R2jags) or bugs (under "R2WinBUGS" or "R2OpenBUGS").

Value

mat
A matrix contaning all the simulations for all the monitored parameters
parameters
A character vectors listing the names of all the monitored parameters

See Also

bcea, evppi