Replace @PK and @PRED tags
replace_pk_pred(
input,
new,
preamble_code,
parms_code,
derived_parms_code,
scaling_code,
init_code,
isPRED,
parms,
varianceTable,
parm_lib,
rv_lib,
mu
)
Internal parameter for shiny
Text template
Preamble code
Typical and individual parameter code
Derived parameter code
Dose scaling and bioavailability code
Compartment initialization code
Reactive object - is model coded with $PRED?
Parameter selection
Variability selection
Library of parameters
Library for residual variability replacement
A logical indicator for mu transformation