Learn R Programming

stacomiR (version 0.6.1)

fun_report_mig_mult: Calculate daily migration by simple repartition

Description

Function to calculate daily migration from migration monitoring whose length is less than one day, typically video recording whose period are instant events.

Usage

fun_report_mig_mult(time.sequence, datasub, negative = FALSE)

Value

A data.frame with number summed over over the time.sequence. The function returns the same output than fun_report_mig_mult_overlaps

but is intended to work faster. In the data.frame, the total number is 'Effectif_total' and corresponds to the addition of numbers and numbers converted from weight, the total weight is 'Poids_total'+'poids_depuis_effectifs' and corresponds to weighed glass eel plus glass eel number converted in weights.

Arguments

time.sequence

the time sequence to be filled in with new data

datasub

the initial dataset

negative

'boolean', default FALSE, TRUE indicates a separate sum for negative and positive migrations

Author

Cedric Briand cedric.briand@eptb-vilaine.fr