This function creates a model for the serology jump model.

createSeroJumpModel(
  data_sero,
  data_known,
  biomarkers,
  exposureTypes,
  exposureFitted,
  observationalModel,
  abkineticsModel,
  exposurePriorTime = NULL,
  exposurePriorTimeType = NULL,
  exposurePriorPop = NULL,
  known_exp_bool = NULL
)

Arguments

data_sero

The serology data.

data_known

The known exposure data.

biomarkers

A vector of the biomarkers

exposureTypes

A vector of the exposure types

exposureFitted

The exposure type that is fitted

observationalModel

The observational model

abkineticsModel

The antibody kinetics model

exposurePriorTime

The prior time of the exposure

exposurePriorTimeType

The type of the exposure prior

exposurePriorPop

The population prior of the exposure

known_exp_bool

Boolean describing if the exposures are known in the model

Value

A list with the data and the model.