Description Usage Arguments Value Examples
A utility function designed to be used within the simulation functions in this package, but which can also be used alone if useful.
1 2 |
results |
A data table resembling the full-form output from date.simulate or a related function. |
summ.col |
Character: which columns(s) in 'results' should be summarised? Defaults to NULL, in which case all columns not called "bin", "bin.no" or "rep.no" are summarised. |
quant.list |
Numeric vector of quantiles to be calculated in a summary table. Defaults to c(0.025,0.25,0.5,0.75,0.975). |
A long-format data table with four named columns: 'bin', character specifying chronological bin in terms of date range; 'V1', the relevant value for the given bin at a given quantile; 'quantile', the quantile at which V1 is calculated; 'id', character specifying which column from 'results' V1 is based on: potentially "count", "dummy", "RoC.count", or "RoC.dummy" depending on the function call which created 'results'.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.