createModelCode: Create model code

View source: R/04-createModelCode.R

createModelCodeR Documentation

Create model code

Description

Create model code

Usage

createModelCode(
  priors,
  userEstimates,
  valueNames,
  constants,
  individualNames,
  modelOptions,
  covariates,
  termsSources,
  termsTargets,
  covariatesNum = NULL
)

Arguments

priors

character vector of priors from shiny interface

userEstimates

character vector of priors from shiny interface

valueNames

list of value names

constants

list of constants

individualNames

names of the individuals

modelOptions

list of model options

covariates

character matrix of categorical covariates

termsSources

list of sourceTerms

termsTargets

list of termsTargets

covariatesNum

numeric atrix of numeric covariates

Value

Nimble code to be used in nimbleModel


Pandora-IsoMemo/resources documentation built on Nov. 21, 2024, 3:56 a.m.