faultlines_fau: Compute distances within and between sub-groups according to...

Description Usage Arguments Value References See Also Examples

Description

Compute distances within and between sub-groups according to the procedure designed by Thatcher, Jehn, and Zanutto (2003) for faultlines analyses.

Usage

1
faultlines_fau(x, subgroup)

Arguments

x

dataframe. Table informing about team members characteristics, numeric or binary. Ideally, all values should be scaled between 0 and 1 before running the analysis.

subgroup

character. Name of the variable indicating subgroups memberships.

Value

A dataframe specifying the distances between subgroups centroids (FAU_CGD), the distances within sub-group (FAU_SGH), the distances within the whole group (FAU_GH) the proximity between sub-groups (DSG_CGA_'subgp_base'), the faultline score (FAU_strength) and the faultline distance (FAU_dist)

References

Thatcher, S. M. B., K. A. Jehn, and E. Zanutto. 2003. Cracks in Diversity Research: The Effects of Diversity Faultlines on Conflict and Performance. Group Decision and Negotiation 12 (3): 217–241.

See Also

make_0_to_1

find_subgroups

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
library(construct)
data("fictiveteams")
# prepare the data: group the observations per team, scale between 0 and 1, identify subgroups
library(dplyr)
library(tidyr)
library(purrr)
fl <- fictiveteams %>%
   group_by(team) %>%
   nest() %>%
   mutate(data = map(data, make_0_to_1)) %>%
   mutate(subgp = map(data, find_subgroups, gpnbr = 2)) %>%
   unnest()
# Compute demographic differences
fl %>%
   group_by(team) %>%
   nest() %>%
   mutate(data = map(data, faultlines_fau, subgroup = "subgroup")) %>%
   unnest()

NicolasJBM/constRuct documentation built on May 27, 2019, 12:17 p.m.