zoo(x,
order.by): Creation of a "zoo" object from the
observations x (a vector or a matrix) and an index
order.by by which the observations are ordered.
For computations on arbitrary index classes, methods to the following
generic functions are assumed to work: combining c(),
querying length length(), subsetting [,
ordering ORDER() and value matching MATCH().
For pretty printing an as.character and/or
index2char method might be helpful.
"zooreg"
object which inherits from "zoo" if the frequency
freq complies with the index order.by. An
as.numeric method has to be available for the index
class."zooreg" series with a
numeric index as above and has (almost) the same interface as
ts(). |"zoo" is available for objects of class
"ts", "xts", "timeSeries", and
many others."zoo" to other classes. Includes methods for
class in "matrix", "vector",
"data.frame", "list", "ts",
"xts", "timeSeries", and several others."zoo"."zoo" object."zoo" objects using their
index.NA handlingNAs.NA observations.NAs by filling gaps with specific values.NAs by carrying forward the last observation.NAs by interpolation.NAs.strict = TRUE) regular."zoo" series the functions try to
determine the regularity and frequency in a data-driven way.