powered by
Calculate euclidean distance between two points.
calc_dist_to_centre(.x, .c)
A numerical vector with the euclidean distance between the two points.
A numerical vector with coordinates to a point.
A numerical vector with the coordinates to the center.
beadplexr:::calc_dist_to_centre(.x = c(10, 15), .c = c(1, 2))
Run the code above in your browser using DataLab