Description Usage Arguments Details Value Examples
grid.align returns the subset of data.table x
that aligns on the grid defined by by, start and
end
1 2 3 |
x |
the |
by |
interval specified in nanoseconds |
func |
a function taking one argument and which provides an
arbitrary aggregation of its argument; if |
start |
scalar |
end |
scalar |
A grid defined by the parameter by, start and
end is created. The function then does a standard alignment
of x onto this grid (see the align function)
a data.table time-series of the same length as
y with the aggregations computed by func
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.