inv_emax_eleveld: Inverse Emax function

Description Usage Arguments Value Examples

View source: R/pd_mods.R

Description

Inverse of Emax function used by Eleveld et al. (2018) population PK model. The Emax function has five parameters: the

Usage

1
inv_emax_eleveld(pdresp, pars)

Arguments

pdresp

PD response values

pars

A vector of parameter values of length 5 corresponding to parameters (c50,gamma,gamma2,E0,Emx). 'c50' describes the concentration required for 50 and 'gamma2' are the Hill parameter for concentrations before and after c50, respectively, 'e0' is the response value at a concentration of 0 and 'emx' is the maximum change in response.

Value

Returns a numeric vector of effect-site concentrations calculated by inverting the Emax model used by Eleveld et al. (2018).

Examples

1
2
3
pars_emax_eleveld <- c(c50 = 1.5, gamma = 1.47, gamma2 = 1.89, e0 = 100, emx = 100)
ce_seq <- seq(0,4,0.1)
all.equal(inv_emax_eleveld(emax_eleveld(ce_seq, pars_emax_eleveld), pars_emax_eleveld), ce_seq)

tci documentation built on Feb. 26, 2021, 5:07 p.m.