Learn R Programming

umx (version 4.20.0)

xmu_dot_rank: Helper to make a graphviz rank string

Description

Given a list of names, this filters the list, and returns a graphviz string to force them into the given rank. e.g. "{rank=same; as1};"

Usage

xmu_dot_rank(vars, pattern, rank)

Value

string

Arguments

vars

a list of strings

pattern

regular expression to filter vars

rank

"same", "max", "min"

See Also

  • xmu_dot_define_shapes()

Other Graphviz: xmu_dot_define_shapes(), xmu_dot_make_paths(), xmu_dot_make_residuals(), xmu_dot_maker(), xmu_dot_mat2dot()

Examples

Run this code
xmu_dot_rank(c("as1"), "^[ace]s[0-9]+$", "same")

Run the code above in your browser using DataLab