save_as_leaflet {greenR} | R Documentation |
Save the green index data as a Leaflet map in an HTML file
Description
This function saves the green index data as a Leaflet map in an HTML file.
Usage
save_as_leaflet(edges, file_path)
Arguments
edges |
A data frame containing the calculated green index values for each edge. |
file_path |
The file path where the HTML file will be saved. |
Value
No return value, called for side effects
Examples
## Not run:
# Assuming you have already obtained green index data
save_as_leaflet(green_index, "green_index_map.html")
## End(Not run)
[Package greenR version 0.0.1.3 Index]