Description Usage Arguments Value Examples
Compare locations
1 | locationDists(dat1, dat2 = NULL)
|
dat1 |
data frame containing location information |
dat2 |
data frame containing location information |
a distance matrix
1 2 3 4 5 6 | test <- data.frame(country=c("Uganda", "Uganda", "Kenya"),
city=c("Kampala", "Kampala", "Kilifi"),
stringsAsFactors = FALSE)
test2 <- data.frame(location=c("uganda,kampala", "uganda,kampala", "kenya"),
stringsAsFactors = FALSE)
locationDists(test, test2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.