check_consistency: Check the consistence of the nodes, flows and palette...

Description Usage Arguments Value Examples

View source: R/checks.R

Description

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

Usage

1
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

1
2
3
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)

PantaRhei documentation built on Dec. 18, 2020, 5:08 p.m.