umx (version 4.0.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)

Arguments

vars

a list of strings

pattern

regular expression to filter vars

rank

"same", "max", "min"

Value

string

See Also

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

Examples

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

Run the code above in your browser using DataLab