makePOIprelim {mispitools}R Documentation

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

Description

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

Usage

makePOIprelim(
  casetype = "children",
  dateinit = "1975/01/01",
  scenario = 1,
  femaleprop = 0.5,
  ext = 100,
  numsims = 10000,
  seed = 123,
  birthprob = c(0.09, 0.9, 0.01),
  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 persons of interest. 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 POIs/UHRs. Casetype: All.

seed

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

birthprob

Birth type probabilities: home birth, hospital birth and unknown-adoption. Casetype: Children.

region

Birth region or place in missing children case or place of discovery of the human remain in missing migrant case. Casetype: All.

regionprob

Region proportions. Casetype: All.

Value

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

Examples

makePOIprelim(
  dateinit = "1975/01/01",
  scenario = 1,
  femaleprop = 0.5,
  ext = 100,
  numsims = 10000,
  seed = 123,
  birthprob = c(0.09, 0.9, 0.01),
  region = c("North America", "South America", "Africa", "Asia", "Europe", "Oceania"),
  regionprob = c(0.2, 0.2, 0.2, 0.1, 0.2, 0.1))
  

[Package mispitools version 1.1.0 Index]