dff: Implementation of absolute difference function

Description Usage Arguments Value

View source: R/dff.R

Description

Function calculating the absolute difference of two dose response models:

dff(d,β_1,β_2)=|m_1(d,β_1)-m_2(d,β_2)|

Usage

1
dff(d, beta1, beta2, m1, m2)

Arguments

d

real-valued argument to the function (dose variable)

beta1, beta2

model parameters (real vectors)

m1, m2

model types. Built-in models are "linlog", "linear", "quadratic", "emax", "exponential", "sigEmax", "betaMod" and "logistic"

Value

Response value for the absolute difference of two models.


TestingSimilarity documentation built on Sept. 11, 2019, 5:08 p.m.