Learn R Programming

discourseGT (version 1.0.0)

edgelist_raw: 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

Run this code
# NOT RUN {
df <- sampleData1
prepNet <- edgelist_raw(df, iscsvfile = FALSE)

# }

Run the code above in your browser using DataLab