populateConcentrations: Populate Concentration Columns

View source: R/populateConcentrations.r

populateConcentrationsR Documentation

Populate Concentration Columns

Description

Creates ConcLow, ConcHigh, Uncen (0 if censored, 1 if uncensored) columns for Sample data frame for WRTDS analysis.

Usage

populateConcentrations(rawData)

Arguments

rawData

vector with value and code columns

Value

concentrationColumns dataframe

Examples

code <- c("","<","")
value <- c(1,2,3)
dataInput <- data.frame(value, code, stringsAsFactors=FALSE)
concentrationDF <- populateConcentrations(dataInput)

EGRET documentation built on April 18, 2023, 5:09 p.m.