dream0.1.0 package

Dynamic Relational Event Analysis and Modeling

computeBCConstraint

Compute Burchard and Cornwell's (2018) Two-Mode Constraint

computeBCES

Compute Burchard and Cornwell's (2018) Two-Mode Effective Size

computeBCRedund

Compute Burchard and Cornwell's (2018) Two-Mode Redundancy

computeBurtsConstraint

Compute Burt's (1992) Constraint for Ego Networks from a Sociomatrix

computeBurtsES

Compute Burt's (1992) Effective Size for Ego Networks from a Sociomatr...

computeFourCycles

Compute the Four-Cycles Network Statistic for Event Dyads in a Relatio...

computeHomFourCycles

Compute Fujimoto, Snijders, and Valente's (2018) Homophilous Four-Cycl...

computeISP

Compute Butts' (2008) Incoming Shared Partners Network Statistic for E...

computeITP

Compute Butts' (2008) Incoming Two Paths Network Statistic for Event D...

computeLealBrokerage

Compute Potential for Cultural Brokerage (PIB) Based on Leal (2025)

computeNPaths

Compute the Number of Paths of Length K in a One-Mode Network

computeOSP

Compute Butts' (2008) Outgoing Shared Partners Network Statistic for E...

computeOTP

Compute Butts' (2008) Outgoing Two Paths Network Statistic for Event D...

computePersistence

Compute Butts' (2008) Persistence Network Statistic for Event Dyads in...

computePrefAttach

Compute Butts' (2008) Preferential Attachment Network Statistic for Ev...

computeReceiverIndegree

Compute the Indegree Network Statistic for Event Receivers in a Relati...

computeReceiverOutdegree

Compute the Outdegree Network Statistic for Event Receivers in a Relat...

computeRecency

Compute Butts' (2008) Recency Network Statistic for Event Dyads in a R...

computeReciprocity

Compute the Reciprocity Network Statistic for Event Dyads in a Relatio...

computeRemDyadCut

A Helper Function to Assist Researchers in Finding Dyadic Weight Cutof...

computeRepetition

Compute Butts' (2008) Repetition Network Statistic for Event Dyads in ...

computeSenderIndegree

Compute the Indegree Network Statistic for Event Senders in a Relation...

computeSenderOutdegree

Compute the Outdegree Network Statistic for Event Senders in a Relatio...

computeTMDegree

Compute Degree Centrality Values for Two-Mode Networks

computeTMDens

Compute Level-Specific Graph Density for Two-Mode Networks

computeTMEgoDis

Compute Fujimoto, Snijders, and Valente's (2018) Ego Homophily Distanc...

computeTriads

Compute the Triadic Closure Network Statistic for Event Dyads in a Rel...

dream

dream: A Package for Dynamic Relational Event Analysis and Modeling

estimateREM

Fit a Relational Event Model (REM) to Event Sequence Data

print.dream

Print Method for Summary of dream Model

print.summary.dream

Print Method for dream Model

processOMEventSeq

Process and Create Risk Sets for a One-Mode Relational Event Sequence

processTMEventSeq

Process and Create Risk Sets for a Two-Mode Relational Event Sequence

remExpWeights

Helper Function to Compute Minimum Effective Time and Exponential Weig...

simulateRESeq

Simulate a Random One-Mode Relational Event Sequence

summary.dream

Summary Method for dream Objects

A set of tools for relational and event analysis, including two- and one-mode network brokerage and structural measures, and helper functions optimized for relational event analysis with large datasets, including creating relational risk sets, computing network statistics, estimating relational event models, and simulating relational event sequences. For more information on relational event models, see Butts (2008) <doi:10.1111/j.1467-9531.2008.00203.x>, Lerner and Lomi (2020) <doi:10.1017/nws.2019.57>, Bianchi et al. (2024) <doi:10.1146/annurev-statistics-040722-060248>, and Butts et al. (2023) <doi:10.1017/nws.2023.9>. In terms of the structural measures in this package, see Leal (2025) <doi:10.1177/00491241251322517>, Burchard and Cornwell (2018) <doi:10.1016/j.socnet.2018.04.001>, and Fujimoto et al. (2018) <doi:10.1017/nws.2018.11>. This package was developed with support from the National Science Foundation’s (NSF) Human Networks and Data Science Program (HNDS) under award number 2241536 (PI: Diego F. Leal). Any opinions, findings, and conclusions, or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the NSF.

  • Maintainer: Kevin A. Carson
  • License: MIT + file LICENSE
  • Last published: 2025-07-19