Skip to contents

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()
#> [1] agent             object            agent_ident       agent_ident_prob 
#> [5] object_ident      object_ident_prob
#> <0 rows> (or 0-length row.names)
blank_edgelist(use.institution = TRUE)
#> [1] agent             object            agent_ident       agent_ident_prob 
#> [5] object_ident      object_ident_prob institution      
#> <0 rows> (or 0-length row.names)
blank_edgelist(use.rseed = TRUE)
#> [1] agent             object            agent_ident       agent_ident_prob 
#> [5] object_ident      object_ident_prob rseed            
#> <0 rows> (or 0-length row.names)