parTab_modification: Modify parameter table

Description Usage Arguments Value

View source: R/helper.R

Description

Modifies the parTab data frame depending on the model settings

Usage

1
parTab_modification(parTab, options, fixed_S = FALSE)

Arguments

parTab

the data frame of parTab as read in by a typical parTab file

options

list with the following elements:

  1. typing: boolean to indicate if "typing" is used in the model

  2. cr: boolean to indicate if cross reactivity is included

  3. priming: boolean for priming

  4. monophasic_waning: boolean for monophasic waning. FALSE if biphasic waning

  5. y0_mod: boolean if titre dependent boosting is used

  6. antigenic_seniority: boolean if antigenic seniority is included

  7. form: string argument for which model form is used

Set the contents of these elements as described above (mostly booleans) to set the parameter table to include or exclude each model feature

fixed_S

boolean, if TRUE then the standard deviation of the observation error function is estimated

Value

the correct parTab data frame for the given model structure


jameshay218/antibodyKinetics documentation built on Nov. 8, 2019, 11 a.m.