createInputs.default | R Documentation |
Creates an object containing the matrix with the parameters simulated using
the MCMC procedure (using JAGS, BUGS or Stan) and a vector of parameters
(strings) that can be used to perform the expected value of partial
information analysis. In the process, createInputs
also checks for
linear dependency among columns of the PSA samples or columns having
constant values and removes them to only leave the fundamental parameters
(to run VoI analysis). This also deals with simulations stored in a
.csv
or .txt
file (e.g. as obtained using bootstrapping from a
non-Bayesian model).
## Default S3 method:
createInputs(inputs, print_is_linear_comb = TRUE)
createInputs(inputs, print_is_linear_comb = TRUE)
## S3 method for class 'rjags'
createInputs(inputs, print_is_linear_comb = TRUE)
## S3 method for class 'bugs'
createInputs(inputs, print_is_linear_comb = TRUE)
## S3 method for class 'stanfit'
createInputs(inputs, print_is_linear_comb = TRUE)
## S3 method for class 'data.frame'
createInputs(inputs, print_is_linear_comb = TRUE)
## S3 method for class 'numeric'
createInputs(inputs, print_is_linear_comb = TRUE)
inputs |
A |
print_is_linear_comb |
Logical indicator. If set to |
mat |
Data.frame containing all the simulations for all the monitored parameters |
parameters |
Character vectors of the names of all the monitored parameters |
Gianluca Baio, Anna Heath and Mark Strong
bcea()
,
evppi()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.