Description Usage Arguments Details Value
Aggregate Average Net Position
1 2 | agg_avg_net_position(payments, debit, central_bank = NULL,
t_start = NULL, t_end = NULL)
|
payments |
dataframe value, payments data |
debit |
logical value, if this value is TRUE then the net debit position is calculated. If FALSE then the net credit position is calculated. |
central_bank |
character value, If the central bank is to be removed from calculation then this parameter should be the identifier of the central bank. Defaults to NULL meaning no participant is removed from the calculation |
t_start |
time value, First time in the day when payments are sent. Should have the format: HH:MM:SS. Defaults to NULL, taking the time of the first payment in the data as it's value. |
t_end |
time value, Last time in the day when payments are sent.Should have the format: HH:MM:SS. Defaults to NULL, taking the time of the last payment in the data as it's value. |
Assumes that the payments data file has the form: ID, date, time, value, from, to
Calculates the daily aggregate (across participants), average net debit/credit position. The average net debit/credit positions of each participant is calculated with the avg_net_position function.
dataframe structure, The aggregate net debit/credit position of the system
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.