Learn R Programming

netknitr (version 0.2.1)

getEdges: getEdges

Description

Generate edges or lines data frame which defines the link between nodes.

Usage

getEdges(polished_data, nodes)

Value

data frame of edges indicationg from and to node ids

Arguments

polished_data

data frame, output of getAssociation function

nodes

data frame, output of getNodes function

Author

Jayachandra N

Examples

Run this code
res <- fixNodeBias(head(mtcars))
edges <- getEdges(getAssociation(res), getNodes(res, group = TRUE))

Run the code above in your browser using DataLab