Skip to contents

Run model on ReSources object

Usage

compileRunModel(
  fruitsObj,
  progress = FALSE,
  onlySim = FALSE,
  userDefinedAlphas = NULL,
  seqSim = 0.2,
  simSourceNames = NULL,
  onlyShowNimbleInput = FALSE
)

Arguments

fruitsObj

object of class fruits: input data

progress

boolean: show progress in shiny

onlySim

boolean: only simulate from prior

userDefinedAlphas

list of matrices: for simulation only: food source intakes values

seqSim

numeric grid of mixture steps

simSourceNames

names of sources to simulate

onlyShowNimbleInput

boolean: run the model if FALSE, only show input for nimbleModel() if TRUE