excl_dbl_int: Exclude double interactions

View source: R/excl_dbl_int.R

excl_dbl_intR Documentation

Exclude double interactions

Description

Function to exclude double focal and action_partner interactions used for ap, bc, and gr, from duration calculator i.e. when they were focalled on the same day, and interact, keep only one

Usage

excl_dbl_int(df, join_by)

Arguments

df

A data frame of interactions. Typically generated by the "duration decider" function. Needs columns "focal_dyad_count" and "partner_dyad_count". (created by get_p_dyad_count).

Value

A dataframe with double interactions filtered out.


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