db.intersect: Intersection of flow and concentration data in a unique data...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/db.intersect.R

Description

Flow and concentration data are merged in a unique data frame on the basis of DateTime information. The function pairs the data maintaining the rows in which both the concentration and the flow records are available. None ‘NA' value is reported

Usage

1
db.intersect(flow.data, conc.data)

Arguments

flow.data

A dataframe with a first column with DateTime information in standard format(yyyy-mm-dd HH:MM:SS) labeled "datetime" and a second column with continuous flow records labelede "flow".

conc.data

A dataframe with a first column with DateTime information in standard format (yyyy-mm-dd HH:MM:SS) and the following columns with concentration of different compounds in milligram per litre.

Value

A dataframe with three columns: the first column with DateTime in standard format (yyyy-mm-dd HH:MM:SS), the second column with flow records, and the third column with concentration data, paired on the basis of datetime column. Only the rows in which both concentration and flow data are available are maintened.

Author(s)

Veronica Nava

See Also

db.union

Examples

1
2
3

RiverLoad documentation built on Jan. 4, 2022, 5:07 p.m.