sc_node {silicate} | R Documentation |
Nodes for arc-node topology.
Description
Nodes are the vertices in the graph that are shared by "arcs".
Usage
sc_node(x, ...)
## S3 method for class 'SC'
sc_node(x, ...)
## S3 method for class 'SC0'
sc_node(x, ...)
## Default S3 method:
sc_node(x, ...)
## S3 method for class 'PATH'
sc_node(x, ...)
## S3 method for class 'ARC'
sc_node(x, ...)
Arguments
x |
input object |
... |
arguments for methods |
Value
data frame of the nodes
Examples
sc_node(ARC(minimal_mesh))
sc <- SC(routes)
library(dplyr)
plot(sc)
sc_node(sc) %>% inner_join(sc$vertex) %>% select(x_, y_) %>% points()
[Package silicate version 0.7.1 Index]