Learn R Programming

tci (version 0.2.0)

emax: Emax function

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(ce, pars)

Value

Numeric vector of same length as ce.

Arguments

ce

Vector of effect-site concentrations.

pars

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

Examples

Run this code
pars_emax <- c(c50 = 1.5, gamma = 1.47, e0 = 100, emx = 100)
ce_seq <- seq(0,4,0.1)
plot(ce_seq, emax(ce_seq, pars_emax), type = "l",
xlab = "Effect-site concentrtion (ug/mL)", ylab = "BIS")

Run the code above in your browser using DataLab