decider_diff_count: Decider different count

View source: R/decider_diff_count.R

decider_diff_countR Documentation

Decider different count

Description

Helper function for deciding which focal interaction to keep, when dyad counts are different. Will decide to keep whichever focal has the highest dyad count.

Usage

decider_diff_count(focal_dyad_count, partner_dyad_count)

Arguments

focal_animal

ID of animal that was being focalled, as a character string

action_partner

ID of action partner of interaction, as a character string

Details

This function will be used inside the "decider" function.

Value

A string with the decision, either "include" or "exclude"


avrincon/phdfuns documentation built on Nov. 13, 2022, 10:34 a.m.