sci: Calculate Social Connectedness Index variables from...

Description Usage Arguments Value

View source: R/sociality-indices.R

Description

Calculate Social Connectedness Index variables from individual-year-of-life data

Usage

1
2
3
sci(my_iyol, members_l, focals_l, females_l, interactions_l,
  min_res_days = 60, parallel = FALSE, ncores = NULL,
  directional = FALSE, legacy_sci = FALSE)

Arguments

my_iyol

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 coresidence days needed for dyad to be included. Defaults to 60 days.

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

Value

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


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