Description Usage Arguments Details Value Examples
Creates an ROI estimation project.
1 | build.project(targetdir, overwrite = FALSE, copy_pub = TRUE)
|
targetdir, |
path to enclosing directory. If this directory does not exist, will attempt to create it (recursively) |
overwrite, |
overwrite existing files corresponding to the project skeleton elements? |
copy_pub, |
copy the '/pub' folder (which contains the analyses from the publication) |
This function sets up the skeleton of an analysis to go from seroprevalence data to the ROI estimation surface.
That skeleton uses a series of separate scripts for each analytical step (fitting, simulation, analysis, and application),
connected via the command line build tool make
. This approach allows clean substitution for various stages (e.g.,
using a different model to generate life histories). The following files are created:
the dependencies for various analysis stages
brief notes about project parts
script for fitting seroprevalence data
script for generating synthetic populations
script for converting life histories into probability coefficients for ROI calculation
a quick example start-to-finish analysis
logical, indicating error free creation of the project skeleton; there may still be other warnings
1 2 3 4 | require(denvax)
tardir <- tempdir() # replace with desired target
build.project(tardir)
list.files(tardir, recursive = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.