tabulate_edges: Process raw order lists from two column format to edge and...

Description Usage Arguments Value Examples

View source: R/tabulate_edges.R

Description

Takes raw input that is in a 2 column format/question-and-response format and generates an appropriate edge and weight lists in a combined .csv file. The weights in this function are determined by the number of occurrences a specific edge has occurred in the graph

Usage

1
tabulate_edges(input, iscsvfile = TRUE, silentNodes = 0)

Arguments

input

Input in question-and-response format. Must be a data.frame or file name of a .csv

iscsvfile

Sets if the input is a csv file or a R data frame object

silentNodes

The number of nodes that do not interact with other nodes but are in the group

Value

Saves the weight and edge lists as a data.frame object or a .csv file to disk.

Examples

1
2
df <- sampleData1
tabData <- tabulate_edges(df, iscsvfile = FALSE, silentNodes = 0)

discourseGT documentation built on Oct. 23, 2020, 8:11 p.m.