move_down: Move to daughter in adjacency matrix

View source: R/MullerPlot.R

move_downR Documentation

Move to daughter in adjacency matrix

Description

Returns the first Identity value in the sorted set of daughters. When parent has no daughters, returns the input Identity.

Usage

move_down(edges, parent)

Arguments

edges

Dataframe comprising an adjacency matrix, with column names "Parent" and "Identity"

parent

number or character string specifying whose daughter is to be found

Value

The daughter's Identity.

Author(s)

Rob Noble, robjohnnoble@gmail.com

See Also

move_up move_right

Examples

edges1 <- data.frame(Parent = c(1,1,1,3,3), Identity = 2:6)
move_down(edges1, 3)


ggmuller documentation built on Feb. 16, 2023, 7:42 p.m.