PartnerSearch {VirtualPop}R Documentation

Simple Partner Search Simulation

Description

In this simple model, a partner is an individual of a different sex selected at random among members of the same generation. The function is called by GetGenerations().

Usage

PartnerSearch(dLH)

Arguments

dLH

Database

Value

dLH

Updated version of database (dLH), which includes, for each individual without a partner and able to find a partner, the ID of the partner.

Examples


utils::data(dLH,package="VirtualPop")
d <- VirtualPop::PartnerSearch(dLH=dLH)


[Package VirtualPop version 2.0.2 Index]