Parse the LNA rates so they can be compiled.

parse_lna_rates(
  lna_rates,
  param_codes,
  const_codes,
  tcovar_codes,
  lna_comp_codes
)

Arguments

lna_rates

character vector of LNA rates

param_codes

named numeric vector of parameter codes

const_codes

named numeric vector of constant codes

tcovar_codes

named numeric vector of time-varying covariate codes

lna_comp_codes

named numeric vector of LNA compartment codes

Value

string snippets for the LNA that can be compiled