school_contacts: Student contacts recorded as intervals

school_contactsR Documentation

Student contacts recorded as intervals

Description

Face-to-face contacts among fourteen students over three weeks. Each row is one contact with an explicit start and end, which makes this an interval log: duration carries information, and two students who met once at length are distinguishable from two who met briefly many times. The students fall into three loosely-connected friendship clusters and overall activity rises through the second week before falling away.

Usage

school_contacts

Format

A data.frame with 240 rows and 4 columns:

from

Character. The student initiating the contact.

to

Character. The other student.

start

Numeric. Day the contact began, counted from day zero.

end

Numeric. Day the contact ended.

The fourteen students are Ana, Ben, Cara, Dan, Eve, Finn, Gita, Hugo, Iris, Jonas, Kira, Leo, Mira and Nils; times run from day 0 to day 21.52.

Source

Simulated, not observed. Generated deterministically under a fixed seed by data-raw/make-data.R.

Examples

dynet(school_contacts)

Dynet documentation built on Oct. 7, 2026, 5:08 p.m.