Description Usage Arguments Value
View source: R/sociality-indices.R
Obtain dyadic interaction subsets for the animal's year of life
1 2 | get_dyadic_subset(df, biograph_l, members_l, focals_l, females_l,
interactions_l, min_cores_days, within_grp, directional)
|
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 |
The input row with an additional list column containing the subset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.