View source: R/visualization.R
| plot_fetch_rose | R Documentation |
Create a rose diagram showing directional fetch for a single site.
plot_fetch_rose(fetch_data, site, title = NULL)
fetch_data |
Results from |
site |
Site name to plot |
title |
Optional plot title (defaults to site name) |
Invisible NULL (creates base R plot)
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_rose(results, results$results$Site[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.