dst: Return a vector of distances from original a point (0,0) from...

View source: R/calculation.R

dstR Documentation

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

Description

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

Usage

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]]))

TreeRingShape documentation built on April 4, 2025, 5:10 a.m.