View source: R/GenerateRegularNonDailyTS.R
GenerateRegularNonDailyTS | R Documentation |
Generates a non daily regular time series out of an non-daily irregular time series.
GenerateRegularNonDailyTS(Datavec,TimeChar,TimeResolutionBegin='secs',
TimeResolutionEnd='mins',Minutes=1,PlotIt=FALSE,
formating="(%y-%m-%d %H:%M:%S)",
tz='UTC')
Datavec |
[1:n] numerical data vector |
TimeChar |
[1:n] Time, a chron object or a POSIXlt object or a character vector, Devices sepcific time, if not chron object, please adjust format neceassry It hast to be convertible to character |
TimeResolutionBegin |
'secs','mins','hours' but not 'days' |
TimeResolutionEnd |
'secs','mins','hours' but not 'days' |
Minutes |
timedifference between two points in time in minutes |
PlotIt |
TRUE: plotting, FALSE: no plots |
formating |
default="(%y-%m-%d %H:%M:%S)", else check |
tz |
sometimes durations and time difference cannot be calculated if timezone is not chosen, default: 'UTC' |
Irregular time-series objects are scalar or vector valued time series indexed by a time-stamp of class
POSIXlt
used to represent irregularly temporal-spaced measurements.
For daily time see please GenerateRegularDailyTS
Regular TS of equidistance as a zoo object
Michael Thrun
...
GenerateRegularDailyTS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.