Run a simulation in parallel mode with Simulated Annealing
run_parallel_SA(insms, inseed = -1)
A microsimulation object which holds the data and details of the simulation such as iterations, lexicon.
A random number to be used for random seed.
msm_results An object with the results of the simulation, for each area.
Dimitris Kavroudakis [email protected]
1 2 3 4 5 6 7 8 9 10
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_parallel_SA(insms, inseed=1900) print(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.