grPipe.create {grPipe} | R Documentation |
if nrow or ncol parameters are equal zero, then the output will be an empty data.frame.
grPipe.create(nrow = 0, ncol = 0)
nrow |
integer |
ncol |
integer |
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
Daniel Gaspar Gonçalves
nodes = grPipe.create()
nodes = grPipe.create(nrow = 2, ncol = 5)