@@ -14,7 +14,6 @@ emax <- function(dose, e0, eMax, ed50){
1414}
1515
1616# ' @rdname drmodels
17- # ' @inheritParams emax
1817# ' @param ... Just included for convenience in the gradient functions, so that
1918# ' for example \code{quadratic(dose, e0=0, b1=1, b2=3)} will not throw an error
2019# ' (although the gradient of the quadratic model is independent of e0, b1 and
@@ -26,7 +25,6 @@ emaxGrad <- function(dose, eMax, ed50, ...){
2625}
2726
2827# ' @rdname drmodels
29- # ' @inheritParams emax
3028# ' @param h Hill parameter, determining the steepness of the model at the ED50
3129# ' @usage NULL
3230# ' @export
@@ -35,7 +33,6 @@ sigEmax <- function(dose, e0, eMax, ed50, h){
3533}
3634
3735# ' @rdname drmodels
38- # ' @inheritParams sigEmax
3936# ' @usage NULL
4037# ' @export
4138sigEmaxGrad <- function (dose , eMax , ed50 , h , ... ){
@@ -48,7 +45,6 @@ sigEmaxGrad <- function(dose, eMax, ed50, h, ...){
4845}
4946
5047# ' @rdname drmodels
51- # ' @inheritParams emax
5248# ' @param e1 Slope parameter for exponential model
5349# ' @param delta Exponential model: Parameter, controlling the convexity of the
5450# ' model.\cr Linear and linlog model: Slope parameter\cr Logistic model:
@@ -60,15 +56,13 @@ exponential <- function(dose, e0, e1, delta){
6056}
6157
6258# ' @rdname drmodels
63- # ' @inheritParams exponential
6459# ' @usage NULL
6560# ' @export
6661exponentialGrad <- function (dose , e1 , delta , ... ){
6762 cbind(e0 = 1 , e1 = exp(dose / delta )- 1 , delta = - exp(dose / delta ) * dose * e1 / delta ^ 2 )
6863}
6964
7065# ' @rdname drmodels
71- # ' @inheritParams emax
7266# ' @param b1 first parameter of quadratic model
7367# ' @param b2 second parameter of quadratic model (controls, whether model is
7468# ' convex or concave)
@@ -79,15 +73,13 @@ quadratic <- function(dose, e0, b1, b2){
7973}
8074
8175# ' @rdname drmodels
82- # ' @inheritParams quadratic
8376# ' @usage NULL
8477# ' @export
8578quadraticGrad <- function (dose , ... ){
8679 cbind(e0 = 1 , b1 = dose , b2 = dose ^ 2 )
8780}
8881
8982# ' @rdname drmodels
90- # ' @inheritParams emax
9183# ' @param delta1 delta1 parameter for beta model
9284# ' @param delta2 delta2 parameter for beta model
9385# ' @param scal Scale parameter (treated as a fixed value, not estimated)
@@ -101,7 +93,6 @@ betaMod <- function(dose, e0, eMax, delta1, delta2, scal){
10193}
10294
10395# ' @rdname drmodels
104- # ' @inheritParams betaMod
10596# ' @usage NULL
10697# ' @export
10798betaModGrad <- function (dose , eMax , delta1 , delta2 , scal , ... ){
@@ -119,23 +110,20 @@ betaModGrad <- function(dose, eMax, delta1, delta2, scal, ...){
119110}
120111
121112# ' @rdname drmodels
122- # ' @inheritParams exponential
123113# ' @usage NULL
124114# ' @export
125115linear <- function (dose , e0 , delta ){
126116 e0 + delta * dose
127117}
128118
129119# ' @rdname drmodels
130- # ' @inheritParams linear
131120# ' @usage NULL
132121# ' @export
133122linearGrad <- function (dose , ... ){
134123 cbind(e0 = 1 , delta = dose )
135124}
136125
137126# ' @rdname drmodels
138- # ' @inheritParams exponential
139127# ' @param off Offset value to avoid problems with dose=0 (treated as a fixed
140128# ' value, not estimated)
141129# ' @usage NULL
@@ -145,15 +133,13 @@ linlog <- function(dose, e0, delta, off = 1){
145133}
146134
147135# ' @rdname drmodels
148- # ' @inheritParams linlog
149136# ' @usage NULL
150137# ' @export
151138linlogGrad <- function (dose , off , ... ){
152139 cbind(e0 = 1 , delta = log(dose + off ))
153140}
154141
155142# ' @rdname drmodels
156- # ' @inheritParams emax
157143# ' @param delta Exponential model: Parameter, controlling the convexity of the
158144# ' model.\cr Linear and linlog model: Slope parameter\cr Logistic model:
159145# ' Parameter controlling determining the steepness of the curve
@@ -164,7 +150,6 @@ logistic <- function(dose, e0, eMax, ed50, delta){
164150}
165151
166152# ' @rdname drmodels
167- # ' @inheritParams logistic
168153# ' @usage NULL
169154# ' @export
170155logisticGrad <- function (dose , eMax , ed50 , delta , ... ){
@@ -175,7 +160,6 @@ logisticGrad <- function(dose, eMax, ed50, delta, ...){
175160}
176161
177162# ' @rdname drmodels
178- # ' @inheritParams emax
179163# ' @param resp Response values at the nodes for the linInt model
180164# ' @param nodes Interpolation nodes for the linear interpolation for the linInt
181165# ' model (treated as a fixed value, not estimated)
@@ -188,7 +172,6 @@ linInt <- function(dose, resp, nodes){
188172}
189173
190174# ' @rdname drmodels
191- # ' @inheritParams linInt
192175# ' @usage NULL
193176# ' @export
194177linIntGrad <- function (dose , resp , nodes , ... ){
0 commit comments