xmu_dot_rank {umx}R Documentation

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

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

[Package umx version 4.20.0 Index]