build_example_purse {COINr} | R Documentation |
Build example purse
Description
Shortcut function to build an example purse. This is currently an "artificial" example, in that it takes the ASEM data set
used in build_example_coin()
and replicates it for five years, adding artificial noise to simulate year-on-year variation.
This was done simply to demonstrate the functionality of purses, and will at some point be replaced with a real example.
See also vignette("coins")
.
Usage
build_example_purse(up_to = NULL, quietly = FALSE)
Arguments
up_to |
The point up to which to build the index. If |
quietly |
If |
Value
purse class object
Examples
# build example purse up to unit screening step
purse <- build_example_purse(up_to = "Screen")
purse
[Package COINr version 1.1.14 Index]