ssd_censor_data | R Documentation |
Censors data to a specified range based on the censoring
argument.
The function is useful for creating test data sets.
ssd_censor_data(data, left = "Conc", ..., right = left, censoring = c(0, Inf))
data |
A data frame. |
left |
A string of the column in data with the concentrations. |
... |
Unused. |
right |
A string of the column in data with the right concentration values. |
censoring |
A numeric vector of the left and right censoring values. |
A tibble of the censored data.
ssd_censor_data(ssddata::ccme_boron, censoring = c(2.5, Inf))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.