crs_nimble: Nimble CRS

View source: R/crs_nimble.R

crs_nimbleR Documentation

Nimble CRS

Description

convenience function for building and compiling nimble models Note by MF: "Compile and Run"

Usage

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

Arguments

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 if

nburnin

...

thin

...

niter

number of iterations

nchains

number of chains

Value

mcmc.list


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