| .draw_leader_lines.aidR | R Documentation |
Only markers that were actually moved by .spread_markers.aidR
get a line, ending in a small tick at the true time.
.draw_leader_lines.aidR(x_true, x_drawn, y_marker, y_anchor, tick, col, tol)
x_true |
Numeric vector with the times the markers occurred, in hours. |
x_drawn |
Numeric vector with the positions the markers are drawn at. |
y_marker |
Numeric, the edge of the marker the line starts at. |
y_anchor |
Numeric, the height the line points down to. |
tick |
Numeric, the height of the tick at the true time. |
col |
Character string with the colour of the line. |
tol |
Numeric, how far a marker has to have moved to get a line. Markers nudged by less than this are drawn close enough to their time that a line would only add clutter. |
No return value, called for side effects: the lines are drawn.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.