sc_node: Nodes for arc-node topology.

Description Usage Arguments Examples

View source: R/00_node.R

Description

Nodes are the vertices in the graph that are shared by "arcs".

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
sc_node(x, ...)

## S3 method for class 'SC'
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

Examples

1
2
3
4
sc <- SC(routes)
library(dplyr)
plot(sc)
sc_node(sc) %>% inner_join(sc$vertex) %>% select(x_, y_) %>% points()

mdsumner/sc documentation built on Dec. 5, 2018, 5:10 p.m.