graphSum {qra} | R Documentation |
Draw graphs of insect mortality or other exposure-response data
Description
Datasets that are in mind hold, for each replicate of
each combination of each of a several factors (e.g.,
species, lifestages, temperatures), mortalities for
each of a number of values of "dose". See for example
the dataset help page codling1989
.
Usage
graphSum(
df,
subSet = NULL,
link = "cloglog",
logScale = FALSE,
dead = "Dead",
tot = "Tot",
dosevar = "logCT",
Rep = "Rep",
fitRep = NULL,
fitPanel = NULL,
byFacet = ~Species,
layout = NULL,
maint = "Codling Moth, MeBr",
ptSize = 2,
xzeroOffsetFrac = 0.08,
yzeroOneOffsets = c(-0.08, 0.08),
yEps = 0.005,
xlab = expression(bold("CT ") * "(gm.h." * m^{ -3 } * ")"),
ylabel = NULL,
ytiklab = c(0.01, 0.05, 0.1, 0.25, 0.5, 0.75, 0.9, 0.99)
)
Arguments
df |
Data frame from which data will be taken |
subSet |
NULL, or an expression, such as for example
|
link |
Link function. If character, obtain from |
logScale |
Logical, indicating whether the dose ($x$-variable) is on a log scale. |
dead |
Character; name of column holding number dead |
tot |
Character; column holding total number |
dosevar |
Character; column holding "dose" values |
Rep |
Character; NULL, or column holding replicate number, within panel |
fitRep |
Character; NULL, or column holding replicate fitted values |
fitPanel |
Character; NULL, or column holding panel fitted values |
byFacet |
Graphics formula specifying factor combination that determines panel |
layout |
Graphics formula that can be supplied to |
maint |
Main title |
ptSize |
Pointsize, by default 2 |
xzeroOffsetFrac |
$x$-axis zero offset fraction, required when scale is logarithmic |
yzeroOneOffsets |
Length two vector, giving 0 100 mortalities, on the scale of the link function. |
yEps |
Fractional increase at bottom and top of $y$ user range to accommodate points for mortalities of 0 and 1. |
xlab |
Expression specifying x-axis label |
ylabel |
If not |
ytiklab |
Place $y$ axis tiks and labels at these mortalities |
Value
No return value, called for side effects