View source: R/func_reshape_pan.R
reshape_pan | R Documentation |
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
reshape_pan(d, ecd)
d |
data frame of PAN data |
ecd |
either 1 or 2, depending on ECD channel |
long PAN data
W S. Drysdale
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.