Lsort | R Documentation |
Sort x,y coordinates of a tree ring line with center angle of each point
Lsort(l.)
l. |
x,y coordinates matrix (ncol=2) or data.frame of an tree ring. |
ordered with center angle of each point
i<-seq(0,2*pi,0.1)
l.<-data.frame(x=sin(i),y=cos(i))
l.[10,]<-l.[20,]
plot(l.,type="b")
plot(Lsort(l.),type="b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.