Learn R Programming

ssdtools (version 2.3.0)

ssd_sort_data: Sort Species Sensitivity Data

Description

Sorts Species Sensitivity Data by empirical cumulative density (ECD).

Usage

ssd_sort_data(data, left = "Conc", right = left)

Value

data sorted by the empirical cumulative density.

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.

Details

Useful for sorting data before using geom_ssdpoint() and geom_ssdsegment() to construct plots for censored data with stat = identity to ensure order is the same for the various components.

See Also

ssd_ecd_data() and ssd_data()

Examples

Run this code
ssd_sort_data(ssddata::ccme_boron)

Run the code above in your browser using DataLab