Computes and returns the distance between two phase points.
pdist(x, y)
x
an object of "pp" class representing a phase point.
"pp"
y
an object of "pp" class representing another phase point.
A scalar.
a <- pp(list(x = 1, y = 1)) b <- pp(list(x = 3, y = 4)) pdist(a, b)