parse_nodes {PantaRhei}R Documentation

Parse the information from a 'nodes' definition table.

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

parse_nodes(nodes, verbose = FALSE)

Arguments

nodes

data.frame containing the nodes definition

verbose

logical: print some information?

Value

modified nodes data.frame

Examples

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

[Package PantaRhei version 0.1.2 Index]