ssd_censor_data: Censor Data

View source: R/censor.R

ssd_censor_dataR 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))

ssdtools documentation built on April 4, 2025, 12:35 a.m.