Learn R Programming

tcplfit2 (version 0.1.7)

concRespPlot2: Concentration Response Plot - ggplot2

Description

This function takes output from `concRespCore` or `tcplhit2_core` to generate a basic plot of the observed concentration-response data and the best fit curve (winning model). A `ggplot` object, which users may customize with additional `ggplot` layers, is returned.

Usage

concRespPlot2(row, log_conc = FALSE)

Value

A `ggplot` object of the observed concentration-response data overlaid with the best fit curve (winning model).

Arguments

row

Output from `concRespCore` or `tcplhit2_core`, containing information about the best fit curve (winning model).

log_conc

Logical argument. If `TRUE`, convert the concentrations (x-axis) into log-10 scale. Defaults to `FALSE`.