View source: R/populateSampleColumns.r
populateSampleColumns | R Documentation |
Creates ConcAve and ConcLow based on Uncen. Removes any samples with NA values in ConcHigh.
populateSampleColumns(rawData)
rawData |
dataframe with dateTime, ConcLow, ConcHigh, Uncen |
Sample2 dataframe with columns: Date, ConcLow, ConcHigh, Uncen, ConcAve, Julian, Month, Day, DecYear, MonthSeq, waterYear, SinDY, and CosDY (DY = decimal year)
dateTime <- c('1985-01-01', '1985-01-02', '1985-01-03')
ConcLow <- c(1,2,0)
ConcHigh <- c(1,2,3)
Uncen <- c(1,1,0)
dataInput <- data.frame(dateTime, ConcLow, ConcHigh, Uncen, stringsAsFactors=FALSE)
Sample <- populateSampleColumns(dataInput)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.