powered by
compute the distance between two points given the x, y axes of the points.
lineMagnitude(x1, y1, x2, y2)
A numeric vector, x axis of the points
A numeric vector, y axis of the points
A numeric vector, the length between two points.
http://healthcare.ai
healthcareai
# NOT RUN { lineMagnitude(c(1,0),c(2,0),5,3) # }
Run the code above in your browser using DataLab