sl.mhd | R Documentation |
This function calculates the Modified Hausdorff Distance between two sea ice edges
sl.mhd(A,B,cA=NULL,cB=NULL,kA=NULL,kB=NULL,R=1)
A |
A |
B |
A |
cA |
A |
cB |
A |
kA |
An optional integer that can vary between 1 and the number of points of the segment A ( |
kB |
An optional integer that can vary between 1 and the number of points of the segment B ( |
R |
Radius of the sphere. DEFAULT -> |
To calculate the coordinates of the edge and of the land-ice interface please refer to the function sl.mhd.edge
. sl.mhd.edge
output is the natural imput for sl.mhd
. The distance employed to compute the MHD is the "great circle distance", given by sl.gc.dist
.
The MHD value in meters.
Lorenzo Zampieri
sl.mhd.edge
MHD <- sl.mhd(Edge1,Edge2,LandEdge1,LandEdge2,R=-1)
## sl.mhd(Edge1,Edge2,LandEdge1,LandEdge2)
## Should result in double, which represent the MHD of the two edges in meters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.