Learn R Programming

CSHShydRology (version 1.4.2)

ch_stack_EC: Stacks EC values

Description

Converts data frames of Environment Canada year x month or month x day data to vectors.

Usage

ch_stack_EC(data_values = NULL, data_codes = NULL)

Value

Returns a data frame with two columns: the data values, and the data codes.

Arguments

data_values

Required. Data frame of year x month or month x day values.

data_codes

Required. Data frame of year x month or month x day data codes.

Author

Kevin Shook

Examples

Run this code
if (FALSE) {
# Do not run as the function requires a data frame of EC data and
# the dummy variable will cause an error message
df <- ch_stack_EC(data_values, data_codes)
}

Run the code above in your browser using DataLab