run_serial {sms} | R Documentation |
Run_serial
Description
Run a simulation in serial mode
Usage
run_serial(insms)
Arguments
insms |
A microsimulation object which holds the data and details of the simulation such as iterations, lexicon. |
Details
Run a simulation in serial mode.
Value
msm_results An object with the results of the simulation, for each area.
Author(s)
Dimitris Kavroudakis dimitris123@gmail.com
Examples
library(sms)
data(survey)
data(census)
in.lexicon=createLexicon()
in.lexicon=addDataAssociation(in.lexicon, c("he","he"))
in.lexicon=addDataAssociation(in.lexicon, c("females","female"))
insms= new("microsimulation",census=census, panel=survey, lexicon=in.lexicon, iterations=5)
results= run_serial( insms)
print(results)
[Package sms version 2.3.1 Index]