View source: R/visualization.R
| plot_fetch_map | R Documentation |
Create a map showing site locations colored by exposure category.
plot_fetch_map(fetch_data, title = "Fetch Analysis - Site Locations")
fetch_data |
Results from |
title |
Optional plot title |
A ggplot2 object
csv_path <- system.file("extdata", "sample_sites.csv", package = "lakefetch")
sites <- load_sites(csv_path)
lake <- get_lake_boundary(sites)
results <- fetch_calculate(sites, lake)
plot_fetch_map(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.