sc_node: Nodes for arc-node topology.

View source: R/00_node.R

sc_nodeR 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()

mdsumner/sc documentation built on Jan. 16, 2024, 2:03 a.m.