grPipe.create: Create New Graphviz Data.Frame (grPipe Nodes)

View source: R/grPipe.create.R

grPipe.createR Documentation

Create New Graphviz Data.Frame (grPipe Nodes)

Description

if nrow or ncol parameters are equal zero, then the output will be an empty data.frame.

Usage

grPipe.create(nrow = 0, ncol = 0)

Arguments

nrow

integer

ncol

integer

Value

Returns a data.frame with 3 columns (id, id_next and text) where:

  • if nrow==0 or ncol==0, then return an empty data.frame;

  • if nrow>0 and ncol>0, then return a data.frame with one row:

    • id = paste0(LETTERS[nrow], ncol)

    • id_next = NA

    • text = NA

Author(s)

Daniel Gaspar Gonçalves

Examples

nodes = grPipe.create()
nodes = grPipe.create(nrow = 2, ncol = 5)


grPipe documentation built on June 9, 2022, 9:05 a.m.

Related to grPipe.create in grPipe...