Learn R Programming

EGRET (version 3.0.9)

populateConcentrations: 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)

Value

concentrationColumns dataframe

Arguments

rawData

vector with value and code columns

Examples

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

Run the code above in your browser using DataLab