calcule-report_mig-method: Transforms migration per period to daily migrations, and...

Description Usage Arguments Value Note

Description

The calculation must be launched once data are filled by the connect method. Currently the negative argument has no effect.

Usage

1
2
## S4 method for signature 'report_mig'
calcule(object, negative = FALSE, silent = FALSE)

Arguments

object

An object of class report_mig-class

negative

a boolean indicating if a separate sum must be done for positive and negative values, if true, positive and negative counts return different rows

silent

Boolean, if TRUE, information messages are not displayed, only warnings and errors

Value

report_mig with calcdata slot filled. It is a list with one element per counting device containing

method

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.

data

the calculated data.

contient_poids

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 linkreport_ge_weight).

negative

A parameter indicating if negative migration (downstream in the case of upstream migration devices) have been converted to positive numbers, not developed yet

Note

The class report_mig does not handle escapement rates nor 'devenir' i.e. the destination of the fishes.


stacomiR documentation built on Nov. 22, 2021, 9:06 a.m.