emax_inv: Inverse Emax function

View source: R/pd_mods.R

emax_invR Documentation

Inverse Emax function

Description

Inverse Emax function to return effect-site concentrations required to reach target effect.

Usage

emax_inv(pdresp, pars)

Arguments

pdresp

PD response values

pars

Named vector of parameter values with names (c50,gamma,E0,Emx).

Value

Numeric vector of same length as pdresp.

Examples

pars_emax <- c(c50 = 1.5, gamma = 4, e0 = 100, emx = 100)
ce_seq <- seq(0,4,0.1)
all.equal(emax_inv(emax(ce_seq, pars_emax), pars_emax), ce_seq)

tci documentation built on Aug. 15, 2022, 9:09 a.m.