invertHillModel {basicdrm} | R Documentation |
Calculates the required doses of a Hill dose response model
Description
This funciton takes one or more desired response values and determines the doses that will produce the desired effects given a particular Hill dose response model. This is useful for estimating things like IC50.
Usage
invertHillModel(effect, hpar, invalidNA = FALSE)
Arguments
effect |
A vector of desired response values |
hpar |
A four parameter vector specifying the Hill model. Parameter
details are found in the documentation for |
invalidNA |
Specifies what to do with values that are outside the range
of the given Hill model. If |
Value
A vector of concentrations the same length as effect
.
Examples
invertHillModel(0.5, c(1,2,0,0.7))
invertHillModel(seq(0.1,0.9,by=0.1), c(0.1,4,0,0.65), invalidNA=TRUE)
[Package basicdrm version 0.3.0 Index]