Description Usage Arguments Value
Generates random value according to a Poisson multinomial distribution needed to estimate the origin destination matrices. This is a high level function, the only one to be called by users to estimate the number of individuals going from one region to another. For a theoretical background an interested reader can find more details in the methodological framework available here: https://webgate.ec.europa.eu/fpfis/mwikis/essnetbigdata/images/f/fb/WPI_Deliverable_I3_A_proposed_production_framework_with_mobile_network_data_2020_05_31_draft.pdf The actual omputations are performed using a parallelization (transparent to the users) which uses the whole number of (logical) cores.
1 2 3 4 5 6 7 8 | rNnetEventOD(
n,
dupFileName,
regsFileName,
postLocJointPath,
prefix,
seed = 123
)
|
n |
The number of random values to be generated. |
dupFileName |
The name of the .csv file with the duplicity probability
for each device. This is an output of the |
regsFileName |
The name of the .csv file defining the regions. It has two
columns: |
postLocJointPath |
The path where the files with the posterior location
probabilities for each device can be found. A file with the location
probabilities should have the name |
prefix |
A prefix that is used to compose the file name with posterior location probabilities. |
A data table object with the following columns: time_from,
time_to, region_from, region_to, Nnet, iter
. The number of detected
individuals moving from a region to another between two succesive time
instants is given in column Nnet
while the last column gives the
index of the random value generated for this number.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.