dim: the dimension of the manifold (e.g., 2 for a plane)
R: great-circle radius
Details
Initialises an object of class measure which contains a function dist used for computing the distance between two points. Currently the Euclidean distance and the great-circle distance are included with FRK.