blank_edgelist: Create a blank interaction edgelist data frame

View source: R/nodelist_edgelist_gen.R

blank_edgelistR Documentation

Create a blank interaction edgelist data frame

Description

The edgelist is a data frame containing information on the relationships between actors, including the identities they inhabit in interactions with one another and the labels they ascribe to each other. This function returns a blank edgelist with properly named columns. Lines can be added using add_interaction() (recommended) or manually.

Usage

blank_edgelist(use.institution = FALSE, use.rseed = FALSE)

Arguments

use.institution

logical indicating whether to include an institution column

use.rseed

logical indicating whether to include an rseed column

Value

Empty edgelist data frame with correct column names

Examples

blank_edgelist()
blank_edgelist(use.institution = TRUE)
blank_edgelist(use.rseed = TRUE)

ahcombs/bayesactR documentation built on Jan. 15, 2025, 6:49 p.m.