View source: R/ToroidDist2All.R
ToroidDist2All | R Documentation |
Calculate toroid Euclidean Distances
positionxy |
One datapoint |
AllPositions(1:AnzData:2) |
All Other dataPoints |
Lines , Columns |
Size of planar grid |
Dist2All(1:AnzData,1:AnzData); distance(s) between XY and AllPositions
MT
positionxy = c(1,1)
AllPositions = rbind(c(2,3), c(5,2))
Lines = 40
Columns = 80
ToroidDist2All(positionxy, AllPositions, Lines, Columns)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.