powered by
Plots species sensitivity data.
ssd_plot( data, pred, left = "Conc", right = left, label = NULL, shape = NULL, color = NULL, size = 2.5, xlab = "Concentration", ylab = "Percent of Species Affected", ci = TRUE, ribbon = FALSE, hc = 5L, shift_x = 3 )
A data frame.
A data frame of the predictions.
A string of the column in data with the concentrations.
A string of the column in data with the right concentration values.
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.
A string of the x-axis label.
A flag specifying whether to estimate confidence intervals (by parametric bootstrapping).
A flag indicating whether to plot the confidence interval as a grey ribbon as opposed to green solid lines.
A count between 1 and 99 indicating the percent hazard concentration (or NULL).
The value to multiply the label x values by.
# NOT RUN { ssd_plot(boron_data, boron_pred, label = "Species", shape = "Group") # }
Run the code above in your browser using DataLab