vpr_ctd_ymd: Add Year/ month/ day hour:minute:second information

Description Usage Arguments Value Examples

View source: R/EC_functions.R

Description

Calculate and record calendar dates for vpr data from day-of-year, hour, and time (in milliseconds) info. Will also add 'avg_hr' parameter if not already present.

Usage

1

Arguments

data

VPR data frame from vpr_ctdroi_merge

year

Year of data collection

offset

time offset in hours between VPR CPU and processed data times (optional)

Value

a VPR data frame with complete date/time information in a new row named 'ymdhms'

Examples

1
2
3
year <- 2019
data('ctd_roi_merge')
dat <- vpr_ctd_ymd(ctd_roi_merge, year)

vprr documentation built on Nov. 2, 2020, 5:07 p.m.