This function inputs two antibody by response curves and outputs values needed for
plots of equivalent antibody response.
This is called by other functions (plotresp.equiv
, plotresp.mix
).
It is not to be called directly. For that purpose use equiv.increase
.
equiv.ab(effab1, ab1, effab2, ab2, npts = 100)
A list containing:
a vector of values of antibody dose
antilog of abpts, i.e., abpts raised to tenth power
equivalent response of antibody 2
equivalent response of antibody 1
vector of antibody doses that correspond with equiv.eff1
equiv.ab1-abpts
equiv.eff1
vector of responses for antibody 1
vector of doses of antibody 1
vector of responses for antibody 2
vector of doses of antibody 2
number of points used in some output
The function uses the approx
function to do linear interpolation and find the needed
values.
equiv.increase