View source: R/oceanTime_Convert.R
oceanTime_ConvertToNumeric | R Documentation |
Function to convert ocean_times from character or POSIXct to numeric.
oceanTime_ConvertToNumeric(ot, ref = "1900-01-01 00:00:00")
ot |
- ocean_time, as character or POSIXct vector |
ref |
- calendar reference (default = "1900-01-01 00:00:00") |
Input numeric values associated with ocean_times should be a vector of character strings formatted as 'YYY-MM-DD HH:MM:SS' or POSIXct.
Vector with ocean_times as numeric seconds since the reference date.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.