View source: R/posixct2rsminerveChar.R
| posixct2rsminerveChar | R Documentation |
Reformats a POSIXct date formats to a string (vec) with the format dd.mm.yyyy hh:mm:ss. This is the format that RSMinerve accepts for time series.
posixct2rsminerveChar(dateVec, tz = "")
dateVec |
Date vector |
tz |
Optional character indicating time zone for as.POSIXct. Default is system internal time zone (""). "GTM" or known local time zone of data recommended. |
Dateframe with dates in dd.mm.yyyy hh:mm:ss representation
Other Helper functions:
%>%(),
aggregate_to_monthly(),
cutRaster2Basin(),
decadeMaker(),
generateSeqDates(),
hyear(),
monDateSeq()
date_vec <- c("2018-01-01 01:00:00", "2018-01-01 02:00:00", "2018-01-01 03:00:00")
rsminerve_date_vec <- posixct2rsminerveChar(date_vec, "GMT")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.