get_drm {ezec} | R Documentation |
Function to generate a dose-response model from a data frame.
get_drm(x, form = NULL, model = c("LL.3", "LL.4", "W1.4", "W2.4"),
idcol = "ID")
x |
a data frame that has at least the columns listed in the |
form |
a formula specifying the column names for the response and dose. Defaults to NULL. |
model |
one of 4 options:
|
idcol |
the name of the column that identifies the samples (case sensitive). |
A wrapper function for drm
, this will attempt to
catch errors generated due to non-finite responses. When these are
encounterd, a message that the model was not evaluated will be printed to
the screen and NA will be returned.
Zhian N. Kamvar