Draw a line segment between two points, where each point is a vector of x then y coordinates.
1 | segmentPt(pt1, pt2, clr = "black", lwidth = 1)
|
clr |
A string indicating colour. See argument col in |
lwidth |
Line width; see |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.