Skip to contents

Returns a copy of results whose parameter_estimates gains POP_KM (= kd) and POP_CLMM (= the fitted POP_CL). Pharmpy's TMDD structsearch uses these to seed the QSS candidates' POP_KDC / POP_KINT; without them the stiff TMDD ODE diverges. Used internally by call_pharmpy_tool() when tool = "structsearch", options$type = "tmdd" and options$kd is supplied. If the results already carry POP_KM/POP_CLMM (an MM-parameterised base) the object is returned unchanged.

Usage

seed_tmdd_results(results, kd, verbose = TRUE)

Arguments

results

a Pharmpy ModelfitResults object (e.g. from run_nlme()).

kd

target dissociation constant seed (concentration units).

verbose

emit an info message?

Value

a ModelfitResults with augmented parameter_estimates.