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

View source: R/sociality-indices.R

get_sci_subsetR Documentation

Obtain SCI subsets for the animal's year of life

Description

Obtain SCI subsets for the animal's year of life

Usage

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 July 3, 2025, 11:45 p.m.