Calculates statistics for VPR measurement data in depth averaged bins for analysis and visualization

vpr_size_bin(data_all, bin_mea)

Arguments

data_all

a VPR CTD and measurement dataframe from vpr_ctdroisize_merge

bin_mea

Numerical value representing size of depth bins over which data will be combined, unit is metres, typical values range from 1 - 5

Value

a dataframe of binned VPR size data statistics including number of observations, median, interquartile ranges, salinity and pressure, useful for making boxplots

Examples

if (FALSE) { # \dontrun{
data('size_df_f')
vpr_size_bin(size_df_f, bin_mea = 5)
} # }