ssd_plot_data {ssdtools} | R Documentation |
Plot Species Sensitivity Data
Description
Plots species sensitivity data.
Usage
ssd_plot_data(
data,
left = "Conc",
right = left,
...,
label = NULL,
shape = NULL,
color = NULL,
size = 2.5,
xlab = "Concentration",
ylab = "Species Affected",
shift_x = 3,
add_x = 0,
big.mark = ",",
suffix = "%",
bounds = c(left = 1, right = 1),
trans = "log10",
xbreaks = waiver()
)
Arguments
data |
A data frame.
|
left |
A string of the column in data with the concentrations.
|
right |
A string of the column in data with the right concentration values.
|
... |
Unused.
|
label |
A string of the column in data with the labels.
|
shape |
A string of the column in data for the shape aesthetic.
|
color |
A string of the column in data for the color aesthetic.
|
size |
A number for the size of the labels. Deprecated for label_size . #' ![[Deprecated]](../help/figures/lifecycle-deprecated.svg)
|
xlab |
A string of the x-axis label.
|
ylab |
A string of the x-axis label.
|
shift_x |
The value to multiply the label x values by (after adding add_x ).
|
add_x |
The value to add to the label x values (before multiplying by shift_x ).
|
big.mark |
A string specifying used between every 3 digits to separate thousands on the x-axis.
|
suffix |
Additional text to display after the number on the y-axis.
|
bounds |
A named non-negative numeric vector of the left and right bounds for
uncensored missing (0 and Inf) data in terms of the orders of magnitude
relative to the extremes for non-missing values.
|
trans |
A string of which transformation to use. Accepted values include "log10" , "log" , and "identity" ("log10" by default).
|
xbreaks |
The x-axis breaks as one of:
|
See Also
ssd_plot()
and geom_ssdpoint()
Examples
ssd_plot_data(ssddata::ccme_boron, label = "Species", shape = "Group")
[Package
ssdtools version 2.3.0
Index]