vpr_plot_contour.Rd
Creates interpolated contour plot, can be used as a background for ROI or tow yo information
vpr_plot_contour(
data,
var,
dup = "mean",
method = "interp",
labels = TRUE,
bw = 1,
cmo
)
data frame needs to include time_hr, depth, and variable of choice (var)
variable in dataframe which will be interpolated and plotted
if method == 'interp'. Method of handling duplicates in interpolation, passed to interp function (options: 'mean', 'strip', 'error')
Specifies interpolation method, options are 'interp' or 'oce', oce uses slightly different method (oce is least error prone)
logical value indicating whether or not to plot contour labels
bin width defining interval at which contours are labelled
name of a cmocean
plotting theme, see ?cmocean
for more information