cripa_nimble: Nimble CRIPA

View source: R/cripa_nimble.R

cripa_nimbleR Documentation

Nimble CRIPA

Description

Note by MF: "Complile and Run individually for parallel assembly"

Usage

cripa_nimble(
  seed,
  model_code,
  constants,
  data,
  inits,
  monitors,
  nburnin = 0,
  thin = 1,
  niter = 1e+05,
  nchains = 4
)

Arguments

seed

set seed (maybe; I have to look into it)

model_code

either a string containing the code of the model or the variable in which the code is stored

constants

ALL the constants

data

the dataset to be passed to 'nimble::nimbleModel()'

inits

inits parameter to be passed to 'nimble::nimbleModel()'

monitors

user modified monitors; leave empty for default (?)

nburnin

...

thin

...

niter

number of iterations

nchains

number of chains

Value

list


michael-franke/aida-package documentation built on Feb. 19, 2023, 11:51 p.m.