figPlot: Ploting concentration response curve

View source: R/figPlot.R

figPlotR Documentation

Ploting concentration response curve

Description

Plotting concentration response curves with/without confidence intervals.

Usage

figPlot(object, logT = TRUE, xlabel = "concentration (mol/L)", ylabel = "Response", 
               ylimit, lgd = NULL)

Arguments

object

object of class curveFit.

logT

logarithm transformation on concentration: TRUE or FALSE(defalt if TRUE).

xlabel, ylabel

plot labels.

ylimit

range of the y axis.

lgd

legend of the plot.

Details

Plot the concentration response curves, experimental data, CI, and PI in one figure.

Examples

## example 1
# 
x <- antibiotox$PAR$x
expr <- antibiotox$PAR$y
obj <- curveFit(x, expr, eq = 'Logit', rtype = 'quantal', param = c(26, 4), effv = c(0.05, 0.5))
figPlot(obj)

## example 2
# 
x <- hormesis$HmimCl$x
rspn <- hormesis$HmimCl$y
obj <- curveFit(x, rspn, eq = 'Biphasic', param = c(-0.59, 0.001, 160,0.05, 19),
         effv = c(0.05, 0.5), rtype = 'hormesis')
figPlot(obj, logT = TRUE)

mixtox documentation built on June 20, 2022, 5:05 p.m.

Related to figPlot in mixtox...