powered by
Creates a postp folder at path and adds two files: structure.json and functions.R.
postp
path
structure.json
functions.R
init_postp(path, verbose = TRUE)
No return value, called for side effects.
[mandatory] character The path to the root directory where the postp folder should be created.
character
[optional] (logical) Display messages (default: TRUE).
TRUE
The structure.json file is initialized with "default": null. The functions.R file contains simple example functions that match the default "do nothing" behavior plus a z-score example.
"default": null
# Example: Initialize post-processing files in the database directory if (FALSE) { init_postp("path/to/db") }
Run the code above in your browser using DataLab