Description Usage Arguments Details Value Author(s) See Also
Simulate an estimate of the expected utility for a specific completion of the JAGS data, i.e., for a specific point in the decision space. This is a generic function for S3 objects.
1 2 |
model |
Simulation model object of class |
utility.fun |
An R function defining the utility for the decision problem. It
must be possible to extract the argument names of the function
supplied with |
data |
A named list of R objects which, when combined with the named
objects in |
n.iter |
The number of iterations in the JAGS MCMC simulation. |
n.burn.in |
The number of burn iterations prior to the JAGS MCMC simulation. |
n.adapt |
The number of adaptation iterations prior to the burn in and JAGS MCMC simulation. |
inits |
The initial values for the chain passed on to the function
|
independent.SE |
If |
This function is called by eval.on.grid
, but also allows the
user to evaluate the expected utility for a specific combination of
values for the decision variables of the problem.
A list with components
mean |
Sample mean of the simulated utilities. |
SE |
Standard error of the sample mean. |
Sebastian Jobj<f6>rnsson jobjorns@chalmers.se
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.