Description Usage Arguments Details Value
View source: R/generateSummaries.R
creates costs and quantities aggregates at REGIONAL or BNF level
1 | generateSummaries(plpd, bnf, on = "REGION", settings)
|
plpd |
practice level prescribing data.table |
bnf |
bnf data.table |
on |
one of "REGION" or "BNF" indicating the variables to summarise on. Default is "REGION" |
settings |
analysis settings generated with setConfig() |
The function aggregates costs and quantities. The "REGION" version creates total aggregates at region level while the "BNF" option produces aggregates at BNF level.
the function returns a data.table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.