evalHillModel {basicdrm} | R Documentation |
Evaluate a Hill dose response model
Description
Evaluate a Hill dose response model
Usage
evalHillModel(conc, hpar)
Arguments
conc |
A vector of concentrations (including 0 or Inf) |
hpar |
A four parameter vector specifying the Hill model. The values of the parameter vector are, in order, the dose of median effect (also often referred to as the EC50), the Hill slope, the minimal effect (observed when no drug or dose is present), and the maximal effect (theoretically observed when the drug or dose is infinite). |
Value
A vector of response values the same length as conc
Examples
conc <- c(0,2^(-6:3),Inf)
hpar <- c(1,3,0,100)
response <- evalHillModel(conc, hpar)
[Package basicdrm version 0.3.0 Index]