plotNodes | R Documentation |
Create a schematic plot showing the connections between each detection node in a parent-child table.
plotNodes(
parent_child = NULL,
layout = "auto",
point_size = 5,
label_points = T,
label_size = 2,
...
)
parent_child |
The output of 'buildParentChild()'. |
layout |
The type of layout to create. Either a valid string, a function, a matrix, or a data.frame (see Details) |
point_size |
size for points on graph (passed to 'size' argument of 'geom_node_point()'). |
label_points |
'TRUE/FALSE' should the nodes be labeled with their names? Default is 'TRUE'. |
label_size |
size for node labels on graph (passed to 'size' argument of 'geom_node_label()'). |
... |
other arguments for 'geom_edge_diagonal', 'geom_node_point()' or 'geom_node_label()'. |
a ggplot object
Kevin See
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.