vpr_roi_concentration | R Documentation |
Calculates concentrations for each named category in dataframe
vpr_roi_concentration(
data,
category_list,
station_of_interest,
binSize,
imageVolume,
rev = FALSE
)
data |
a VPR dataframe as produced by |
category_list |
a vector of character strings representing category present in the station being processed |
station_of_interest |
The station being processed |
binSize |
passed to |
imageVolume |
the volume of VPR images used for calculating concentrations (mm^3) |
rev |
Logical value defining direction of binning, FALSE (default) - bins will be calculated from surface to bottom, TRUE- bins will be calculated bottom to surface |
data('ctd_roi_merge')
ctd_roi_merge$time_hr <- ctd_roi_merge$time_ms /3.6e+06
category_list <- c('Calanus', 'krill')
binSize <- 5
station_of_interest <- 'test'
imageVolume <- 83663
category_conc_n <- vpr_roi_concentration(ctd_roi_merge, category_list,
station_of_interest, binSize, imageVolume)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.