R/riverplot-class.R

Defines functions length.riverplot names.riverplot as.matrix.riverplot print.riverplot

print.riverplot <- function( x ) {
  cat(sprintf( "RiverPlot object with %d nodes:\n", length(names(x))))
  print(names(x))
  return(invisible(x))
}

as.matrix.riverplot <- function( x ) conn2mtx( x$conn )

names.riverplot     <- function( x )  x$nodes$ID
length.riverplot    <- function( x ) length( x$nodes )

Try the riverplot package in your browser

Any scripts or data that you put into this service are public.

riverplot documentation built on Jan. 22, 2021, 5:09 p.m.