circumference {TreeRingShape} | 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.)