prepareGraphs: Prepare Graphs

Description Usage Arguments Value Examples

View source: R/prepareGraphs.R

Description

Prepares the graphical object from the prepared edge and weight list data frame

Usage

1
prepareGraphs(raw_data_input, project_title = "", weightedGraph = TRUE)

Arguments

raw_data_input

The raw edge and weight list processed from the tabulate_edges() function.

project_title

The title of the project.

weightedGraph

Graph will add weights to the edges to a set of nodes based on the weight specified on the list. Default allows for weights on the graph.

Value

Stores the igraph graph object, graph adjacency matrix, edge and weight lists, project title, and a user option for weighted to list object.

Examples

1
2
3
df <- sampleData1
prepNet <- tabulate_edges(df, iscsvfile = FALSE, silentNodes = 0)
baseNet <- prepareGraphs(prepNet, project_title = "Sample Data 1", weightedGraph = TRUE)

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