emax {tci}R Documentation

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)

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(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")

[Package tci version 0.2.0 Index]