Description Usage Arguments Examples
View source: R/spread_sampleID.R
During a rain event, runoff samples are collected and, later, the sample is sent to an analytical lab for analysis. These samples need to be attributed to the entire event
1 |
A |
|
1 2 3 4 5 6 7 | d <- data.frame(flow = c(0,1,NA,1,0),
sampleID = c(NA,NA,1,NA,NA))
spread_sampleID(d)
d <- data.frame(flow = c(0,1,NA,1,NA,1,0),
sampleID = c(NA,NA,1,NA,2,NA,NA))
spread_sampleID(d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.