parse_nodes: Parse the information from a 'nodes' definition table.

Description Usage Arguments Value Examples

View source: R/IO.R

Description

This function checks the content of a nodes definition, and appends some missing columns. It is mainly used internally, but can be invoked by the uses to see what it does.

Usage

1
parse_nodes(nodes, verbose = FALSE)

Arguments

nodes

data.frame containing the nodes definition

verbose

logical: print some information?

Value

modified nodes data.frame

Examples

1
2
3
4
n0 <- data.frame(ID=c("A","B"), x=1:2, y=0)
str(n0)
n1 <- parse_nodes(n0)
str(n1)

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