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

View source: R/EC_functions.R

vpr_ctd_ymdR Documentation

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

Description

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

Usage

vpr_ctd_ymd(data, year, offset)

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

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



vprr documentation built on July 12, 2022, 5:07 p.m.