The calculation must be launched once data are filled by the connect method. Currently the negative argument has no effect.
# S4 method for report_mig
calcule(object, negative = FALSE, silent = FALSE)
report_mig with calcdata slot filled. It is a list with one element per counting device containing
In the case of instantaneous periods (video counting) the sum of daily values is done by the fun_report_mig_mult method and the value indicated in method is "sum". If any migration monitoring period is longer than a day, then the migration is split using the fun_report_mig_mult_overlaps function and the value indicated in the method is "overlaps" as the latter method uses the overlap package to split migration period.
the calculated data.
A boolean which indicates, in the case of glass eel, that the function fun_weight_conversion has been run to convert the weights to numbers using the weight to number coefficients in the database (see report_ge_weight).
A parameter indicating if negative migration (downstream in the case of upstream migration devices) have been converted to positive numbers, not developed yet
An object of class report_mig-class
a boolean indicating if a separate sum must be done for positive and negative values, if true, positive and negative counts return different rows
Boolean, if TRUE, information messages are not displayed, only warnings and errors