decider_same_count: Decider same count

View source: R/decider_same_count.R

decider_same_countR Documentation

Decider same count

Description

Helper Function for deciding which focal interaction to keep, when dyad counts are the same. Will decide to keep if its ID comes before the action partner alphabetically

Usage

decider_same_count(focal_animal, action_partner)

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.