vpr_roi_concentration | R Documentation |
Calculates concentrations for each named taxa in dataframe
vpr_roi_concentration( data, taxas_list, station_of_interest, binSize, imageVolume )
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) |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.