Generate growth rates, absolute gains, average values, first and last values in time windows of size ahead+1
1 2 3 4 5 |
dat |
a data frame increasingly sorted in time with no gaps |
ahead |
for how many periods ahead shall growth rates etc be computed |
trans.vars |
variables that shall be transformed . By default all numeric variables in dat |
fixed.vars |
variables whose first value in each time window that shall be added to the results without any transformation. |
overlapping |
(default=TRUE) shall time windows be overlapping or not |
slide |
the distance of window starts is by default 1 if overlapping == TRUE and ahead if overlapping==FALSE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.