get_dyadic_subset: Obtain dyadic interaction subsets for the animal's year of...

Description Usage Arguments Value

View source: R/sociality-indices.R

Description

Obtain dyadic interaction subsets for the animal's year of life

Usage

1
2
get_dyadic_subset(df, biograph_l, members_l, focals_l, females_l,
  interactions_l, min_cores_days, within_grp, directional)

Arguments

df

One row individual-year-of-life data

biograph_l

A local copy of the biograph table

members_l

A subset of members table produced by the function 'subset_members'

focals_l

A subset of focals produced by the function 'subset_focals'

females_l

A subset of female counts produced by the function 'subset_females'

interactions_l

A subset of interaction data

min_cores_days

The minimum number of coresidence days needed for dyad to be included. Defaults to 60 days.

within_grp

Logical value indicating whether regressions should be fit relative to dyads in entire population (default) or to dyads within-group

directional

Logical value indicating whether to preserve directionality

Value

The input row with an additional list column containing the subset


amboseli/ramboseli documentation built on March 18, 2021, 12:03 a.m.