zoo

0th

Percentile

Z's Ordered Observations

zoo is the creator for an S3 class of indexed totally ordered observations which includes irregular time series.

Keywords
ts
Usage
zoo(x, order.by)
Arguments
x
a vector or matrix.
order.by
a vector by which the observations in x are ordered.
Details

zoo is still under development, but it provides plot and time methods for "zoo" objects and can convert "ts" and "irts" objects with as.zoo.

Value

  • A vector or matrix with an "index" attribute of the same dimension (NROW(x)) by which x is ordered.

See Also

plot.zoo, index

Aliases
  • zoo
  • print.zoo
  • is.zoo
  • [.zoo
Examples
x.date <- as.POSIXct(paste("2003-02-", c(1, 3, 7, 9, 14), sep = ""))
x <- zoo(rnorm(5), x.date)
plot(x)

time(x)

x[1:3]
Documentation reproduced from package zoo, version 0.1-1, License: GPL

Community examples

Looks like there are no examples yet.