View source: R/fit_joint_2pLL.R
fit_joint_2pLL | R Documentation |
fit_joint_2pLL
fits a 2pLL model. The "joint" is in the
name because, despite being a regular 2pLL model, this function is used
in the anova-td2pLL pipeline TDR()
: If the anova pre-test, that
checks if there is a difference in ED50 parameters between (exposure) times,
is not significant, the exposure times are ignored. In other words,
a single, 'joint', dose-response curve is fitted to the data,
ignoring the information of exposure time.
fit_joint_2pLL(data)
data |
( |
The function is a wrapper function using the LL2.2() argument
from the drc::drm()
function with the fixed asymptotes
upper=100 and lower=0.
As a first try, the Nelder-Mead method is used as optimization procedure.
If this yields an error, the BFGS method is used as opitmization
method.
An object of class drc
.
When using the LL2.2() model from the drc::drm()
function,
the ED50 parameter is parametrized as log(ED50). We do this for improved
stability.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.