x: (required, zoo object) Zoo time series to analyze. Default: NULL.
keywords: (optional, character string or vector) Defines what keywords are returned. If "aggregate", returns valid keywords for zoo_aggregate(). If "resample", returns valid keywords for zoo_resample(). If both, returns all valid keywords. Default: c("aggregate", "resample").
Returns
Data frame with the following columns:
name (string): time series name.
rows (integer): number of observations.
class (string): time class, one of "Date", "POSIXct", or "numeric."
units (string): units of the time series.
length (numeric): total length of the time series expressed in units.
resolution (numeric): average interval between observations expressed in units.
begin (date or numeric): begin time of the time series.
end (date or numeric): end time of the time series.
keywords (character vector): valid keywords for tsl_aggregate() or tsl_resample(), depending on the value of the argument keywords.
Examples
#simulate a zoo time seriesx <- zoo_simulate( rows =150, time_range = c( Sys.Date()-365, Sys.Date()), irregular =TRUE)#time data framezoo_time( x = x
)