Description Usage Arguments Value Examples
Generate map colors by greedy coloring algorithm so that bordering features are colored differently
1 |
sf |
An simple feature dataframe - the shapefile of investigation |
An integer vector - the indices of map colors
1 | generate_map_colors(head(china, 10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.