PartnerSearch | R Documentation |
In this updated partner search 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(idego, d)
idego |
IDs of egos in search for partner |
d |
Database (eg dLH) |
d |
Updated version of database (d), which includes, for each individual without a partner and able to find a partner, the ID of the partner. |
dp |
Data related to partner search (dataframe) |
utils::data(dLH,package="VirtualPop")
dp <- VirtualPop::PartnerSearch(idego=dLH$ID,d=dLH)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.