plot_spatial_EWS: Plot spatial statistics time series

Description Usage Arguments Value Examples

Description

Plot spatial statistics time series

Usage

1
2
3
4
5
6
plot_spatial_EWS(
  spatial_stats,
  bloom_fert_df = bloom_fert_dates,
  var_rename_vec = c(`BGA (ug/L)` = "BGApc_ugL_tau", `DO sat.` = "ODO_percent_tau", pH
    = "pH_tau")
)

Arguments

spatial_stats

data frame, output from call to calc_spatial_stats

bloom_fert_df

data frame of fertilization start and end and bloom start dates, see bloom_fert_dates for default and formatting

var_rename_vec

named vector, used to change variable names displayed in plot, format is c("new name" = "original name")

Value

a ggplot object showing the change in spatial statistics over the experiment

Examples

1
2
3
4
spat_stats <- calc_spatial_stats(
  spatial_data = flame_data
)
plot_spatial_EWS(spat_stats)

cbuelo/tvsews documentation built on Jan. 21, 2022, 1:31 a.m.