Skip to contents

Plot multi-variable timeseries

Usage

plot_ts(aeme, model, var_sim, add_obs = TRUE, depth_range = NULL, ens_n = 1)

Arguments

aeme

aeme; object.

model

vector; of models to be used. Can be `dy_cd`, `glm_aed`, `gotm_wet`.

var_sim

character; variable in the AEME format (e.g. "HYD_temp"). Can be a vector.

add_obs

logical; add observations to the plot. Default is TRUE.

depth_range

numeric; range of depths to average. Default is NULL, which averages over all depths.

Value

A ggplot object