vpr_roi_concentration {vprr} | R Documentation |
Calculate VPR concentrations
Description
Calculates concentrations for each named taxa in dataframe
Usage
vpr_roi_concentration(
data,
taxas_list,
station_of_interest,
binSize,
imageVolume
)
Arguments
data |
a VPR dataframe as produced by |
taxas_list |
a list of character strings representing taxa 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) |
Examples
data('ctd_roi_merge')
ctd_roi_merge$time_hr <- ctd_roi_merge$time_ms /3.6e+06
taxas_list <- c('Calanus', 'krill')
binSize <- 5
station_of_interest <- 'test'
imageVolume <- 83663
taxa_conc_n <- vpr_roi_concentration(ctd_roi_merge, taxas_list,
station_of_interest, binSize, imageVolume)
[Package vprr version 0.2.3 Index]