makeMPprelim {mispitools}R Documentation

Make preliminary investigation MP data simulations: a function for obtaining a database of preliminary investigation data for a missing person search.

Description

Make preliminary investigation MP data simulations: a function for obtaining a database of preliminary investigation data for a missing person search.

Usage

makeMPprelim(
  casetype = "children",
  dateinit = "1975/01/01",
  scenario = 1,
  femaleprop = 0.5,
  ext = 100,
  numsims = 10000,
  seed = 123,
  region = c("North America", "South America", "Africa", "Asia", "Europe", "Oceania"),
  regionprob = c(0.2, 0.2, 0.2, 0.1, 0.2, 0.1)
)

Arguments

casetype

Type of missing person search case. Two options are available: "migrants" or "children".

dateinit

Minimun birth date of simulated missing person. Casetype: Children.

scenario

Birth date distribution scenarios: (1) non-uniform, (2) uniform. Casetype: Children.

femaleprop

Proportion of females. Casetype: All.

ext

Time extension for minimun birth date, range in scenario 1 and days in scenario 2. Casetype: Children.

numsims

Number of simulated MPs. Casetype: All.

seed

Select a seed for simulations. If it is defined, results will be reproducible. Casetype: All.

region

Birth region or place in missing children case or place of place of the last seen in missing migrant case. Casetype: All.

regionprob

Region proportions. Casetype: All.

Value

An object of class data.frame with preliminary investigation data.

Examples

makeMPprelim()


[Package mispitools version 1.0.0 Index]