View source: R/S01-pd_functions.R
pd_node_dimensions | R Documentation |
Function to compute the dimensions of a node, providing values for the top, topright, right, bottomright, bottom, bottomleft, left, and topleft x and y-axis coordinates.
pd_node_dimensions(xy, wh)
xy |
A named vector with the x and y-axis coordinates for the center of the node. |
wh |
A named vector with the width and height of the node. |
A list with the assorted coordinates for the node.
pd_node_dimensions( c(x = .5, y = .5), wh = c( w = .1, h = .1 ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.