qgraph_default_esize: qgraph Default Edge Size

View source: R/sonplot-qgraph-geometry.R

qgraph_default_esizeR Documentation

qgraph Default Edge Size

Description

Calculates the default maximum edge width using qgraph's exact formula. Formula: 15 * exp(-n/90) + 1 (halved for directed networks, minimum 1)

Usage

qgraph_default_esize(n_nodes, weighted = TRUE, directed = FALSE)

Arguments

n_nodes

Number of nodes in the network.

weighted

Logical: is the network weighted?

directed

Logical: is the network directed?

Value

Default esize value.


cograph documentation built on April 1, 2026, 1:07 a.m.