threads_to_network_original: Converts threads to network

Description Usage Arguments Value

View source: R/ThreadNet_Core.R

Description

Converts a sequentially ordered streams of ;events (threads) and creates a unimodal, unidimensional network. Sequentially adjacent pairs of events become edges in the resulting network.

Usage

1
threads_to_network_original(et, TN, CF, grp = "threadNum")

Arguments

et

dataframe containing threads

TN

name of column in dataframe that contains a unique thread number for each thread

CF

name of the column in dataframe that contains the events that will form the nodes of the network

grp

grouping variable for coloring the nodes

Value

a list containing two dataframes, one for the nodes (nodeDF) and one for the edges (edgeDF)


ThreadNet/ThreadNet documentation built on July 26, 2019, 8:16 p.m.