AssignFemale: Assign Female

View source: R/Source_BirdCharacteristics.R

AssignFemaleR Documentation

Assign Female

Description

Assigns females to males based on template matching. Females are randomly chosen to pick a male from the population. Males that better match her template are more likely to be chosen. Assumes that there are as many females as there are males, and all birds are paired in the end.

Usage

AssignFemale(P, maleSong, femaleSong)

Arguments

P

a list of parameters

maleSong

a matrix of syllable vectors

femaleSong

a matrix of syllable vectors


NeuroBio/SEM_R_Package documentation built on April 24, 2022, 5:54 p.m.