View source: R/6_SmaxN_across_camnb_functions.R
compute.maxN.combcam | R Documentation |
This function computes a dataframes containing maxN,SmaxN, maxN_row, for a given set of species and all the combinaisons of a given set of cameras
compute.maxN.combcam(abund_combcam_list, dist_df, fish_speed, analysis_type)
abund_combcam_list |
a list gathering for a given pose for each combination of cameras (129 ICRS and 298 combinations paper). Retrieved from the create.abund.list.camcombn() function. |
dist_df |
a numerical dataframe containing the distance between each pair of camera. There are as many rows as there are cameras and there are as many columns as there are cameras, thus the dataframe is symmetrical and the diagonal is filled with 0. Rows names and columns names must be cameras names. BE CAREFUL that the cameras are the same and in the same order in the dist_df and in the abund_df! |
fish_speed |
a numerical value refering to the maximal speed of the
studied species. Speed must be given in meters per second. If the
computation of maxN values should not take into account fish speed (that is
to say if the camera pooling is done at the second level),
|
analysis_type |
type of analysis to do as this function can be used either for the combination of camera analysis or for the timespan analysis. Can be either "combcam" for the analysis of camera combination or "timespan" for the analysis of timespans. |
a dataframe containing for each combination of cameras, maxN values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.