Plots species sensitivity data.
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()
)
A data frame.
A string of the column in data with the concentrations.
A string of the column in data with the right concentration values.
Unused.
A string of the column in data with the labels.
A string of the column in data for the shape aesthetic.
A string of the column in data for the color aesthetic.
A number for the size of the labels. Deprecated for label_size
. #'
A string of the x-axis label.
A string of the x-axis label.
The value to multiply the label x values by (after adding add_x
).
The value to add to the label x values (before multiplying by shift_x
).
A string specifying used between every 3 digits to separate thousands on the x-axis.
Additional text to display after the number on the y-axis.
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.
A string of which transformation to use. Accepted values include "log10"
, "log"
, and "identity"
("log10"
by default).
The x-axis breaks as one of:
NULL
for no breaks
waiver()
for the default breaks
A numeric vector of positions
ssd_plot()
and geom_ssdpoint()
ssd_plot_data(ssddata::ccme_boron, label = "Species", shape = "Group")
Run the code above in your browser using DataLab