concRespPlot2 {tcplfit2}R 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).


[Package tcplfit2 version 0.1.7 Index]