Learn R Programming

cograph (version 2.0.0)

.translate_qgraph_dots: Translate qgraph-style parameter names to cograph equivalents

Description

When splot() receives a tna object, users often pass qgraph-style parameter names (e.g., size = 20, edge.color = "red") because the tna package uses qgraph for plotting. This function renames those keys to their cograph equivalents and applies value transforms where needed.

Usage

.translate_qgraph_dots(dots)

Value

Named list with qgraph keys renamed to cograph equivalents.

Arguments

dots

Named list (typically from list(...)).