simHM.siWoDemogrInfl {hybridModels} | R Documentation |
It runs the chosen hybrid model.
Description
simHM
is generic function that calls a method to run the
simulation base on object's class
Usage
## S3 method for class 'siWoDemogrInfl'
simHM(x, network, sim.number, num.cores, fill.time)
## S3 method for class 'siWoDemogrMigr'
simHM(x, network, sim.number, num.cores, fill.time)
## S3 method for class 'customInfl'
simHM(x, network, sim.number, num.cores, fill.time)
## S3 method for class 'customMigr'
simHM(x, network, sim.number, num.cores, fill.time)
## S3 method for class 'customProbWeights'
simHM(x, network, sim.number, num.cores, fill.time)
## S3 method for class 'customEmigrRule'
simHM(x, network, sim.number, num.cores, fill.time)
## S3 method for class 'customEmigrRuleWeight'
simHM(x, network, sim.number, num.cores, fill.time)
simHM(x, network, sim.number, num.cores = "max", fill.time)
Arguments
x |
of a specific class of model. |
network |
a |
sim.number |
Number of repetitions.The default value is 1 |
num.cores |
number of threads/cores that the simulation will use. the default value is num.cores = 'max', the Algorithm will use all threads/cores available. |
fill.time |
It indicates whether to return all dates or just the dates when nodes get connected. |
Value
A data.frame
with the number of individuals through
time per node, per state and per simulation.
References
.
[Package hybridModels version 0.3.8 Index]