dyadic_rates_to_dsi_mymg: Function calculates DSI from dyadic rates for several groups...

Description Usage Arguments

Description

As dyadic_rates_to_dsi, this function calculates the Dyadic Sociality Index (DSI) for all dyads included in the dataset based on dyadic interaction rates. However, this function uses the table with dyadic rates from multiple groups and years calculated by calc_dyadic_rates_mymg instead of the table with a single group from a single year.

Usage

1
2
3
4
5
dyadic_rates_to_dsi_mymg(
  dyadic_rates_table_mymg,
  behaviours_included,
  roles_included = c("D", "R", "M")
)

Arguments

dyadic_rates_table_mymg

Table that was created by calc_dyadic_rates_mymg

behaviours_included

Vector with all behaviours to be included

roles_included

Which roles should be included, e.g., (D)irected, (R)eceived, or (M)utual


urskalbitzer/daginR documentation built on Jan. 21, 2020, 1:26 a.m.