dyadic_index: Calculate dyadic index variables from individual-year-of-life...

Description Usage Arguments Value

View source: R/sociality-indices.R

Description

Calculate dyadic index variables from individual-year-of-life data

Usage

1
2
3
dyadic_index(my_iyol, biograph_l, members_l, focals_l, females_l,
  interactions_l, min_cores_days = 60, within_grp = FALSE,
  parallel = FALSE, ncores = NULL, directional = FALSE)

Arguments

my_iyol

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'

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

parallel

Logical value indicating whether to process in parallel

ncores

Integer value indicating how many cores to use in parallel processing

directional

Logical value indicating whether to preserve directionality

agonism_l

A subset of agonism data produced by the function 'subset_agonism'

Value

The input data with an additional list columsn containing the full DSI subset and the focal DSI variables.


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