plotTries: Plot selection results

Description Usage Arguments Details Author(s) Examples

View source: R/sms.R

Description

Plot the selection process of an area from a microsimulation object.

Usage

1
plotTries(insms, number)

Arguments

insms

The input results

number

the number of the area to plot

Details

Plot errors during selection process for an area.

Author(s)

Dimitris Kavroudakis [email protected]

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"))

ansms = new("microsimulation", census=census, panel=survey, lexicon=in.lexicon, iterations=5)
sa = run_parallel_SA(ansms, inseed=1900)
plotTries( sa, 1 )

sms documentation built on May 1, 2019, 8:18 p.m.