R/calculation.R
Lsort.Rd
Sort x,y coordinates of a tree ring line with center angle of each point
Lsort(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")