Function for spacing chords along the arc of a circle.
1 | respace(x, id, direction, gap_width = 0.005, ROI = 1)
|
x |
Numeric vector. Size of element in x corresponds to the width of the corresponding chord. |
id |
Character or factor vector indicating how values of x are grouped. Most notably used to place gaps. Should be arranged so that groups appear in sequence. |
direction |
Either 'out' or 'in'. |
gap_width |
Space between outer segments of chord diagram default is 0.005 |
ROI |
Rescaling of input or output hemispheres. Default is 1 (both input and output hemispheres) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.