Return a label and vertex count of each arc.
1 2 3 4 5 6 7
arguments for methods
Arcs are unbranched paths within the line segment graph. Nodes are the vertices where three or more arcs meet.
As with the
SC models the arc id values will only be relevant when
those entities are identified and labelled. Running
sc_arc on a simple features model (for example) will
identify them and return a summary, but without having any record of what they refer to. Use
ARC(x) first to
work with models that don't included labels.
1 2 3 4 5 6 7 8 9 10 11
sc_arc(minimal_mesh) ARC(minimal_mesh)[["arc"]] arc <- ARC(minimal_mesh) plot(arc) points(arc$vertex[match(sc_node(arc)$vertex_, arc$vertex$vertex_), c("x_", "y_")]) arc <- ARC(polymesh) plot(arc) title("arcs and nodes") points(arc$vertex[match(sc_node(arc)$vertex_, arc$vertex$vertex_), c("x_", "y_")])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.