ssd_censor_data {ssdtools}R Documentation

Censor Data

Description

Censors data to a specified range based on the censoring argument. The function is useful for creating test data sets.

Usage

ssd_censor_data(data, left = "Conc", ..., right = left, censoring = c(0, Inf))

Arguments

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.

Value

A tibble of the censored data.

Examples

ssd_censor_data(ssddata::ccme_boron, censoring = c(2.5, Inf))

[Package ssdtools version 2.3.0 Index]