emaxfun {clinDR} | R Documentation |
Vectorized versions of the hyperbolic and sigmoidal Emax models
Description
Evaluate Emax models for a vector of dose levels for multiple sets of parameters.
Usage
emaxfun(dose, parm)
Arguments
dose |
A vector (or scalar) of dose levels |
parm |
A vector or matrix with columns containing
|
Details
The Hill parameter is omitted from parm
for the hyperbolic model
Value
Returns a matrix of Emax function evaluations. The rows correspond to the parameter replications, and the columns correspond to the dose levels.
Note
The ordering of the parameters was selected to faciliate use of the 'plinear' algorithm in function nls.
Author(s)
Neal Thomas
See Also
Examples
doselev<-c(0,5,25,50,100)
e0<-2.465375
ed50<-67.481113
dtarget<-100
diftarget<-9.032497
lambda=2
emax<-solveEmax(diftarget,dtarget,log(ed50),lambda,e0)
parm<-c(log(ed50),lambda,emax,e0)
plot(doselev,emaxfun(doselev,parm))
[Package clinDR version 2.4.1 Index]