Description Usage Arguments Value Examples
Plot example maps of spatial data
1 2 3 4 5 6 7 | plot_spatial_data(
spatial_data = flame_data,
lake_boundaries = peter_paul_bounds,
samples_to_plot = data.frame(Year = 2019, DOY = c(165, 210, 228), stringsAsFactors =
FALSE),
var_cols = c("BGApc_ugL_tau", "ODO_percent_tau", "pH_tau")
)
|
spatial_data |
data frame containing spatial locations and measurements of one or more variables; see |
lake_boundaries |
sf data frame containing boundaries for lakes; see |
samples_to_plot |
a data frame specifying which info from |
var_cols |
character vector, column names that hold measurements of different variables |
a ggplot object with the specified maps of spatial data
1 2 3 4 5 | plot_spatial_data(
spatial_data = flame_data,
samples_to_plot = data.frame(Year = 2019, DOY = c(165, 210, 228), stringsAsFactors = FALSE),
var_cols = c("BGApc_ugL_tau")
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.