grPipe.create {grPipe} | R 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)
[Package grPipe version 0.1.0 Index]