calcDist | R Documentation |
function to plot the interval between two points on the field map and display the distance between them.
calcDist(
pt1,
pt2,
offset = c(5, 10),
arlen = 0.1,
printDist = TRUE,
units = "ft",
digits = 2,
...
)
pt1 |
numeric. point 1, must be length 2. |
pt2 |
numeric. point 2, must be length 2. |
offset |
numeric. Offset to display calculated value. Default is c(5, 10) |
arlen |
numeric. length of tick marks. Default is 0.10 |
printDist |
logical. Should the distance be printed on the map? Default is TRUE |
units |
character. units used for measurment. Not functional only displayed as units on printed value. Default is "ft" |
digits |
integer. number of digits to display in printed distance value. Default is 0 |
[fill in details here]
[value]
# none
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.