Learn R Programming

PantaRhei (version 0.1.2)

check_consistency: 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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab