Description Usage Arguments Details Value Author(s) See Also
Compute simple moving average of a variable.
1 |
var |
variable to average |
begin |
initial index |
end |
final index |
selection |
a logical indicating whether |
This function is used mainly to compute accumulated exposure to meteorological factors and/or pollutants. The arguments begin
and end
control the window size for simple moving average computation, for instance, if one sets this parameters to 0 and 2 respectively, the resulting averages will be based on the concurrent day and the two previous days.
The function may be used inside a model formula to estimate the accumulated exposure effects.
Return var
averaged and if .ares.selection
is set, averaged var
is cut accordingly.
Washington Junger wjunger@ims.uerj.br and Antonio Ponce de Leon ponce@ims.uerj.br
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.