matching.generate: Generates a synthetic population based on the resolution of...

Description Usage Arguments Value Author(s) See Also

Description

Generates a synthetic population based on the resolution of the problem, applied on two samples sample.A and sample.B. It first resizes the two populations so they reach the expected sizes, the adds degrees to them, then creates links based on degrees and characteristics.

Usage

1
2
matching.generate(case, sample.A, sample.B, verbose = FALSE,
  force = FALSE)

Arguments

case

the case resolved by the matching.solve function.

sample.A

the sample to use as population A

sample.B

the sample to use as population B

verbose

displays detailed messages if TRUE

force

if TRUE, will try to generate even very big populations (and will likely fail)

Value

the generated population

Author(s)

Samuel Thiriot <samuel.thiriot@res-ear.ch>

See Also

matching.solve to prepare the case for this call


samthiriot/gosp.dpp documentation built on May 18, 2019, 3:44 p.m.