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)

USGS-R/EGRET documentation built on Nov. 20, 2024, 7:45 p.m.