| FitDoseResponse {synergyfinder} | R Documentation |
Function FitDoseResponse fits dose-response model by using
drm function.
FitDoseResponse(data, Emin = NA, Emax = NA)
data |
A data frame. It contains two columns:
|
Emin |
A numeric or |
Emax |
A numeric or |
Pre-fitting process: 1. Change the 0 value in concentration into 10^-10 to avoide raising error when taking log. 2. If the variance of "response" values equal to 0, add 10^-10 to the last "response" value.
Model choice:
First use "L.4" model to fit the raw data. If error or waring occurs, use
"LL.4" model to fit log(raw data).
An object of class 'drc'. It contains imformation of fitted model.
Liye He liye.he@helsinki.fi
Shuyu Zheng shuyu.zheng@helsinki.fi
Seber, G. A. F. and Wild, C. J (1989) hrefhttps://onlinelibrary.wiley.com/doi/book/10.1002/0471725315Nonlinear Regression, New York: Wiley \& Sons (p. 330).
df <- data.frame(response = c(0, 29, 59, 60, 75, 90),
dose = c(0.00, 9.7656, 39.0626, 156.25, 625, 2500))
model <- FitDoseResponse(df)