edgelist_raw: Process raw order lists from two column format to edge lists

Description Usage Arguments Value Examples

View source: R/edgelist_raw.R

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

1
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

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

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