Return a vector of distances from original a point (0,0) from a matrix or data frame of xy coordinates

dst(xy)

Arguments

xy

a matrix or data frame of xy coordinates

Value

a vector of distances from original a point

Examples

plot(TR@L[[1]])

plot(dst(TR@L[[1]]))