edgelist_raw {discourseGT}R Documentation

Process raw order lists from two column format to edge lists

Description

Takes raw input that is in a 2 column format/question-and-response format and generates an appropriate edge lists in a combined .csv file.

Usage

edgelist_raw(input_file, iscsvfile = TRUE)

Arguments

input_file

Source of the raw input file. Must be in a .csv format

iscsvfile

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

Value

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

Examples

df <- sampleData1
prepNet <- edgelist_raw(df, iscsvfile = FALSE)


[Package discourseGT version 1.1.8 Index]