add_lag_diff | R Documentation |
Add a variable that will be available for comparisons with observed data that is created by processing an existing variable in the simulation history by lagged differencing.
add_lag_diff(model, var_pattern, delay_n = 1)
add_lag_diff_uneven(model, input_names, output_names, lag_dates)
model |
|
var_pattern |
regular expression used to identify variables for
differencing. See |
delay_n |
Delay in days for determining the lag in the differences. |
input_names |
names of variables to be differenced |
output_names |
names of the result of differencing |
lag_dates |
Dates between which differences should be taken. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.