PartnerSearch {VirtualPop} | R Documentation |
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().
PartnerSearch(dLH)
dLH |
Database |
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. |
utils::data(dLH,package="VirtualPop")
d <- VirtualPop::PartnerSearch(dLH=dLH)