View source: R/visualization.R
| plot_fetch_bars | R Documentation |
Create a bar chart showing effective fetch by site.
plot_fetch_bars(fetch_data, title = "Effective Fetch by Site")
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_bars(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.