Description Usage Arguments Details Value See Also Examples

Splits the data into subsets, computes summary statistics for each, and returns the result in a convenient form.

1 2 |

`x` |
a |

`FUN` |
a scalar function to compute the summary statistics which can be applied to all data subsets. |

`...` |
further arguments passed to |

This is a method for the generic `aggregate`

function.

The `aggregate`

function was really designed for `ts`

objects, not `tis`

objects which may or may not meet the
assumptions embedded in the function. The `convert`

function is
better suited for `tis`

series.

`aggregate.tis`

calls `as.ts`

on it's `x`

argument,
then passes that and all other arguments on to `aggregate.ts`

and
then turns the result back into a `tis`

series. If there is a
local version of `aggregate.ts`

that can be found by
`exists("aggregate.ts", envir = globalenv())`

,
it will be used in preference to the function in `package:stats`

.

the `tis`

object returned by `as.tis()`

called on the
`ts`

object returned by `aggregate.ts`

.

`apply`

, `lapply`

, `tapply`

,
`aggregate`

, and `convert`

.

1 2 3 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.