Description Usage Arguments Details Note
The function sets R-EuroMOMO algorithm parameters based on a cascading series of TXT file consisting of <Lefthandside> = <Righthandside> operators.
1 | parseDefaultsFile(fileName, debug = FALSE)
|
fileName |
of the parameter configuration file |
debug |
if true print extensive information |
Operation: Each <LHS> = <RHS> is stored in a list. There are two special
LHS's: except and group, which are used to specify exception periods and group
information. First a global defaults.txt file is ran and then possibly local
defaults are run. Parameters which need to be here: see ImportantVarNames in checkOptions.
Syntax for specifying groups: <group>.<groupName>.<attributeName> = <attributeValue
.
Syntax for specifying except periods: except = <Start ISO-week>:<End ISO-week>
.
There are five pre-defined age groups: momodefault<1-5>.
The parser is handwritten based on regular expressions, which is prone to error. Future versions could be, e.g., XML based.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.