concRespPlot2: Concentration Response Plot - ggplot2

View source: R/concRespPlot2.R

concRespPlot2R Documentation

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)

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'.

Value

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


tcplfit2 documentation built on Sept. 24, 2024, 1:07 a.m.