Plot Seascape as an interactive stacked and filled time series plot.

plot_ss_ts(tbl, na_method = "omit_na", fillAlpha = 0.8, show_legend = "always")

Arguments

tbl

table in same format as output by sum_ss_grds_to_ts containing columns: date (date), cellvalue (double), n_cells (double).

show_legend

When to display the legend. See dygraphs::dyLegend().

Value

dygraph interactive plot

Examples


# prep input table of time series data
ply  <- get_url_ply("mbnms")
ss_i <- get_ss_info("global_8day")
grds <- get_ss_grds(ss_i, ply, date_beg = "2020-09-01")
tbl  <- sum_ss_grds_to_ts(grds)

plot_ss_ts(tbl)