reshape_pan: Reshape PAN

View source: R/func_reshape_pan.R

reshape_panR Documentation

Reshape PAN

Description

Takes a dataframe of PAN data, which is in a pseudo wide format and
reshapes it into long, based of know lags relative to the time stamp
Input data should be in the form:
1. Date (DMY)
2. Time (HMS)
...
7. PAN1A (or PAN1B)
8. PAN2A (or PAN2B)
9. PAN3A (or PAN3B)
10. PAN1A_ppb (or PAN1B_ppb)
11. PAN2A_ppb (or PAN2B_ppb)
12. PAN3A_ppb (or PAN3B_ppb)
Columns 3 - 6 inclusive are not used but expected

Usage

reshape_pan(d, ecd)

Arguments

d

data frame of PAN data

ecd

either 1 or 2, depending on ECD channel

Value

long PAN data

Author(s)

W S. Drysdale


willdrysdale/wsdmiscr documentation built on Aug. 26, 2023, 12:31 a.m.