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.
1 2 3 4 5 | dyadic_rates_to_dsi_mymg(
dyadic_rates_table_mymg,
behaviours_included,
roles_included = c("D", "R", "M")
)
|
dyadic_rates_table_mymg |
Table that was created by
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.