Learn R Programming

silicate (version 0.7.1)

sc_node: 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 SC sc_node(x, ...)

# S3 method for SC0 sc_node(x, ...)

# S3 method for default sc_node(x, ...)

# S3 method for PATH sc_node(x, ...)

# S3 method for ARC sc_node(x, ...)

Value

data frame of the nodes

Arguments

x

input object

...

arguments for methods

Examples

Run this code
sc_node(ARC(minimal_mesh))
sc <- SC(routes)
library(dplyr)
plot(sc)
sc_node(sc) %>% inner_join(sc$vertex) %>% select(x_, y_) %>% points()

Run the code above in your browser using DataLab