move_right | R Documentation |
Returns the next Identity value among the sorted set of siblings. When there is no such sibling, returns the input Identity.
move_right(edges, identity)
edges |
Dataframe comprising an adjacency matrix, with column names "Parent" and "Identity" |
identity |
number or character string specifying whose sibling is to be found |
The sibling's Identity.
Rob Noble, robjohnnoble@gmail.com
move_up
move_down
edges1 <- data.frame(Parent = c(1,1,1,3,3), Identity = 2:6) move_right(edges1, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.