Description Usage Arguments Value Examples
View source: R/dose_response_fitting.R
Function to plot the results of fitted models.
1 2 | modelfit.plot(model, linear.model = FALSE, log.x = FALSE,
linecol = "firebrick")
|
model |
a model object for which prediction is desired. |
linear.model |
logic argument to specify if the fitted model is linear (TRUE) or non-linear (FALSE). |
log.x |
logical. Logaritmically transform x axis values? FALSE by default. |
linecol |
color for the prediction line. |
A graph with the real observations plus the prediction of a previously fitted model.
1 2 3 4 5 6 7 8 9 | ## Not run:
data(AU565_dataset)
#Fit the data with a 4 parameter log-logistic function:
fit<-curve.fit(AU565_dataset,resp="Viable.cells",conc="CONC",fct=drc::LL.4())
#To see the name of other nonlinear function write \code{\link[drc]{getMeanFunctions}}
modelfit.plot(fit)
modelfit.plot(fit,log.x=F)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.