View source: R/tabulate_edges.R
tabulate_edges | R Documentation |
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
tabulate_edges(input, silentNodes = 0)
input |
Input in question-and-response format. Must be a data.frame or file name of a .csv |
silentNodes |
The number of nodes that do not interact with other nodes but are in the group |
Saves the weight and edge lists as a data.frame object or a .csv file to disk.
df <- sampleData1
tabData <- tabulate_edges(df, silentNodes = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.