circumference | R Documentation |
Return circumference length of polygon line
circumference(l.)
l. |
data frame of line coordinates (x,y) |
a numeric of circumference length of polygon line
l. <- data.frame(x=c(0,0,1,1),y=c(0,1,1,0))
plot(l.,type="b") ; polygon(l.)
circumference(l.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.