MapR | R Documentation |
Calculate N dimensional 'distance' from given coordinates.
MapR(a, b)
a |
coordinate of the first point |
b |
coordinate of the second point |
##---- Should be DIRECTLY executable !! ---- ##-- ==> Define data, use random, ##-- or do help(data=index) for the standard data sets. MapR(c(1,2),c(3,5)) ## The function is currently defined as function (a, b) sqrt(sum((a - b)^2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.