Learn R Programming

stacomiR (version 0.6.1)

fun_report_mig_mult_overlaps: 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)

Value

A data.frame with daily migrations

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

Author

Cedric Briand cedric.briand@eptb-vilaine.fr

See Also

calcule,report_mig_mult-method