check_consistency {PantaRhei}R Documentation

Check the consistence of the nodes, flows and palette data.frames

Description

Check the consistence of the nodes, flows and palette data.frames

Usage

check_consistency(nodes, flows, palette = NULL)

Arguments

nodes

data.frame containing the nodes definition

flows

data.frame containing the flows definition

palette

data.frame containing the palette definition

Value

TRUE if all checks are passed; FALSE otherwise.

Examples

nodes <- data.frame(ID=c("A","B"), x=1:2, y=0)
flows <- data.frame(from="A", to="B", quantity=10)
check_consistency(nodes, flows)

[Package PantaRhei version 0.1.2 Index]