This function runs the RJMCMC algorithm given a defined seroModel, settings and filepaths for output

runSeroJump(
  seroModel,
  settings,
  priorPred = FALSE,
  save_info = NULL,
  seed = -1
)

Arguments

seroModel

The seroModel previously defined.

settings

Settings used for the calibration

priorPred

Boolean option on whether to run the prior predictive model

save_info

Filepath of where the outputs are saved

seed

Seed for the random number generator

Value

A list with the posterior samples, the model and the data.