Splits zoo objects by a grouping variable ala split(). Each univariate series is turned into a multivariate zoo object. If the original series is multivariate, the output is a list of multivariate zoo objects.
an univariate or multivariate zoo object
A grouping variable of the same length of x. A warning is given is length(f) is not the same as index size of x
Returns a multivariate zoo object, or list of such.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.