View source: R/sonplot-qgraph-geometry.R
| qgraph_cent_to_edge_simple | R Documentation |
Simplified boundary calculation for splot that approximates qgraph behavior while working with cograph's coordinate system.
qgraph_cent_to_edge_simple(x, y, angle, node_size, shape = "circle")
x |
Node center x coordinate. |
y |
Node center y coordinate. |
angle |
Angle to target (radians). |
node_size |
Node radius in user coordinates. |
shape |
Node shape. |
List with x, y coordinates on boundary.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.