Calculates the distance of each 2D point (X,Y) in a point cloud from the center (xc, yc) of a circle.
Examples
if (FALSE) { # \dontrun{
Ri <- calc_r(x_dbh, y_dbh, x_c, y_c)
R <- mean(Ri)
} # }
Calculates the distance of each 2D point (X,Y) in a point cloud from the center (xc, yc) of a circle.
if (FALSE) { # \dontrun{
Ri <- calc_r(x_dbh, y_dbh, x_c, y_c)
R <- mean(Ri)
} # }