sim_model: Construct A Simulation Model Object

Description Usage Arguments Value Author(s) See Also

Description

Construct a simulation model object from a JAGS model file and a JAGS data file or a named list of data objects.

Usage

1
sim.model(model.file, data)

Arguments

model.file

Name of the file defining the JAGS model. This must be an atomic character vector of a single element.

data

Name of the file defining the JAGS data or a named list of R objects. If a file name, it must be an atomic character vector of a single element.

Value

An S3 object of class sim.model with components

model.file

The name of the JAGS model file used to create the object.

data

A named list of data objects extracted from the JAGS data file or directly supplied as an argument.

grid.spec.list

The grid specification list after grid evaluation. Initially set to NA when the object is created.

sim.points

A matrix with with columns holding the positions of the grid points after grid evaluation. Initially set to NA when the object is created.

sim.means

A vector holding the sample means after grid evaluation. Initially set to NA when the object is created.

sim.SEs

A vector holding the standard errors corresponding to the sample means after grid evaluation. Initially set to NA when the object is created.

regression.fun

The approximate, smoothed function after regression has been performed. Initially set to NA when the object is created.

gpr.hyper.params

The hyperparameters selected in the GPR regression after it has been performed. Initially set to NA when the object is created.

Author(s)

Sebastian Jobj<f6>rnsson jobjorns@chalmers.se

See Also

create.normal.model


bdpopt documentation built on May 2, 2019, 9:18 a.m.