getEdges {netknitr}R Documentation

getEdges

Description

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

Usage

getEdges(polished_data, nodes)

Arguments

polished_data

data frame, output of getAssociation function

nodes

data frame, output of getNodes function

Value

data frame of edges indicationg from and to node ids

Author(s)

Jayachandra N

Examples

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

[Package netknitr version 0.2.1 Index]