TestMatch: Test Match

View source: R/Source_BirdCharacteristics.R

TestMatchR Documentation

Test Match

Description

Calculates how well the female template matches the male template. Mismatch is based how many syllables the female knows that the male does not (Missing) + how many more syllables does the male know than the female (Extra, min 0). Match = 1 - Mismatch/Number of Female Syllables.

Usage

TestMatch(P, maleSong, femaleSong)

Arguments

P

a list of parameters

maleSong

a syllable vector

femaleSong

a syllable vector


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