get_sci_subset: Obtain SCI subsets for the animal's year of life

Description Usage Arguments Value

View source: R/sociality-indices.R

Description

Obtain SCI subsets for the animal's year of life

Usage

1
2
get_sci_subset(df, members_l, focals_l, females_l, interactions_l,
  min_res_days, directional, legacy_sci)

Arguments

df

One row individual-year-of-life data

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 interactions data produced by the function 'subset_interactions'

min_res_days

The minimum number of residence days needed to be included. Defaults to 60 days.

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.