Learn R Programming

ergm.multi (version 0.2.1)

Lazega: A network of advice, collaboration, and friendship in a law firm

Description

This dataset contains a network of relations of various types among 71 lawyers (partners and associates) in a New England (Northeastern US) corporate law firm referred to as “SG&R” collected 1988--1991 by La01c;textualergm.multi.

Usage

data(Lazega)

Arguments

Format

An object of class network of length 5.

Nonstandard Vertex Attributes

age

(numeric) the lawyer's age.

gender

(character) the lawyer's gender ("man"/"woman").

office

(character) in which of the firm's three offices the lawyer is based ("Boston"/"Hartford"/"Providence").

practice

(character) which area of law the lawyer practices ("corporate"/"litigation").

school

(character) from which law school the lawyer graduated ("Harvard/Yale"/"UConnecticut"/"other").

seniority

(numeric) the lawyer's seniority rank in the firm (1 = high).

status

(character) the lawyer's status in the firm ("associate"/"partner").

yrs_frm

(numeric) the number of years the lawyer has been with the firm.

Nonstandard Edge Attributes

Each directed edge \(i\rightarrow j\) has the following attributes:

advice

(logical) whether \(i\) has reported receiving advice from \(j\). (Note that as defined, advice flows from head of the directed edge to the tail.)

coworker

(logical) whether \(i\) has reported receiving \(j\)'s assistance in preparing documents. (Note that as defined, assistance flows from head of the directed edge to the tail.)

friendship

(logical) whether \(i\) considers \(j\) a friend outside of work.

Licenses and Citation

When publishing results obtained using this data set, the original author La01cergm.multi should be cited, along with this R package.

Details

All relations are directed.

References

Examples

Run this code
# \donttest{
data(Lazega)
# Construct a multilayer network for ergm(). (See `?Layer` for syntax.)
LLazega <- Layer(Lazega, c("advice", "coworker", "friendship"))
# Specify a layer logic model.
efit <- ergm(LLazega ~ L(~edges + mutual, ~advice) +
                       L(~edges + mutual, ~coworker) +
                       L(~edges + mutual, ~friendship) +
                       L(~edges + mutual, ~advice&coworker) +
                       L(~edges + mutual, ~advice&friendship) +
                       L(~edges + mutual, ~coworker&friendship))
summary(efit)
# }

Run the code above in your browser using DataLab