powered by
if nrow or ncol parameters are equal zero, then the output will be an empty data.frame.
grPipe.create(nrow = 0, ncol = 0)
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
# NOT RUN { nodes = grPipe.create() nodes = grPipe.create(nrow = 2, ncol = 5) # }
Run the code above in your browser using DataLab