Censor Data
Usage
ssd_censor_data(data, left = "Conc", ..., right = left, censoring = c(0, Inf))
Examples
ssd_censor_data(ssddata::ccme_boron, censoring = c(2.5, Inf))
#> # A tibble: 28 × 6
#> Chemical Species Conc Group Units right
#> <chr> <chr> <dbl> <fct> <chr> <dbl>
#> 1 Boron Oncorhynchus mykiss 0 Fish mg/L 2.5
#> 2 Boron Ictalurus punctatus 0 Fish mg/L 2.5
#> 3 Boron Micropterus salmoides 4.1 Fish mg/L 4.1
#> 4 Boron Brachydanio rerio 10 Fish mg/L 10
#> 5 Boron Carassius auratus 15.6 Fish mg/L 15.6
#> 6 Boron Pimephales promelas 18.3 Fish mg/L 18.3
#> 7 Boron Daphnia magna 6 Invertebrate mg/L 6
#> 8 Boron Opercularia bimarginata 10 Invertebrate mg/L 10
#> 9 Boron Ceriodaphnia dubia 13.4 Invertebrate mg/L 13.4
#> 10 Boron Entosiphon sulcatum 15 Invertebrate mg/L 15
#> # ℹ 18 more rows