Description Usage Arguments Value Examples
Input a distance matrix and kml data, where multidimensional scaling will be applied on the former and projected onto a map.
1 | mds_map(dist_mat, kml_points, kml_polygon)
|
dist_mat |
A distance matrix. |
kml_points |
A dataframe of kml points, as retrieved by |
kml_polygon |
A dataframe of kml polygons, as retrieved by |
A map upon which the results of multidimensional scaling are projected upon.
1 2 3 4 5 | # Example 1: An MDS map of Dutch dialects
data(distDutch)
dutch_points <- get_points(system.file("extdata", "DutchKML.kml", package="dialectR"))
dutch_polygons <- get_polygons(system.file("extdata", "DutchKML.kml", package="dialectR"))
mds_map(distDutch, dutch_points, dutch_polygons)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.