plot_allcurves {tcplfit2} | R Documentation |
This function takes output from 'tcplfit2_core' and generates a basic plot of the observed concentration-response data with all resulting curve fits. A 'ggplot' object, which users may customize with additional 'ggplot' layers, is returned.
plot_allcurves(modelfits, conc, resp, log_conc = FALSE)
modelfits |
Output from 'tcplfit2_core', contains resulting fits for all models used to evaluate the observed concentration-response data. |
conc |
Vector of concentrations (NOT in log units). |
resp |
Vector of responses. |
log_conc |
Logical argument. If 'TRUE', convert the concentrations (x-axis) into log-10 scale. Defaults to 'FALSE'. |
A 'ggplot' object of the observed concentration-response data and all resulting curve fits from 'tcplfit2_core'. (Note: The constant model is not included, and only the successful fits will be displayed.)