fun_report_mig_mult_overlaps: Function to calculate daily migration using overlaps...

View source: R/report_mig_mult.R

fun_report_mig_mult_overlapsR Documentation

Function to calculate daily migration using overlaps functions

Description

Function to calculate daily migration from migration monitoring whose length is more than one day, this calculation relies on the (false) assumption that migration is evenly spread over time.

Usage

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

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 to time.sequence period and summed over the new sequence. A migration operation spanning several days will be converted to 'daily' values assuming that the migration was regular over time. The function returns one row per taxa, stages, counting device. It does not account for the destination of taxa. It returns separate rows for quantities and numbers. Several columns are according to the type of measure (MESURE, CALCULE, PONCTUEL or EXPERT).

Value

A data.frame with daily migrations

Author(s)

Cedric Briand cedric.briand@eptb-vilaine.fr

See Also

calcule,report_mig_mult-method


stacomiR documentation built on May 29, 2024, 10:41 a.m.