run_parallel_HC: run_parallel_HC

Description Usage Arguments Details Value Author(s) Examples

View source: R/sms.R

Description

Run a simulation in serial mode with Hill Climbing

Usage

1
run_parallel_HC(insms, inseed = -1)

Arguments

insms

A microsimulation object which holds the data and details of the simulation such as iterations, lexicon.

inseed

A number to be used for random seed.

Details

Run a simulation in serial mode with Hill Climbing

Value

msm_results An object with the results of the simulation, for each area.

Author(s)

Dimitris Kavroudakis dimitris123@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(sms)
data(survey) #load the data
data(census)
in.lexicon=createLexicon() # Create a data lexicon for holding the associated column names.
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=10)
re=run_parallel_HC(insms, inseed=1900)
print(re)

sms documentation built on May 19, 2017, 8:13 a.m.

Search within the sms package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.