emax_remi: Emax function implemented by Eleveld remifentanil model

View source: R/pd_mods.R

emax_remiR Documentation

Emax function implemented by Eleveld remifentanil model

Description

Emax function. c50 is the concentration eliciting a 50 identifying the slope of the Emax curve at c50, E0 is the response value with no drug present, Emx is the maximum effect size.

Usage

emax_remi(ce, pars)

Arguments

ce

Vector of effect-site concentrations.

pars

Named vector of parameter values with names (c50,gamma,e0,emx).

Value

Numeric vector of same length as ce.

Examples

pars_emax <- c(e0 = 19, emx = 5.6, c50 = 12.7, gamma = 2.87)
ce_seq <- seq(0,60,0.1)
plot(ce_seq, emax_remi(ce_seq, pars_emax), type = "l",
xlab = "Effect-site concentrtion (ug/mL)", ylab = "Spectral Edge Frequency (HZ)")

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