erc: Estimates remaining color

Description Usage Arguments Value Examples

View source: R/summary_tag_use.R

Description

Estimates number of remaining color tags in the field

Usage

1
2
erc(usedcombinations, yearusedcombinations, currentyear = NA,
  yearsurvival = NA, lifespan = NA, hide_color = NA)

Arguments

usedcombinations

Pre used combinations.

yearusedcombinations

The year in which the combination was used.

currentyear

Current year.

yearsurvival

An estimation of the proportion of animals that survive between years.

lifespan

Combinations older the lifespan will be automatically disregard.

hide_color

Color(s) to be hide in the estimation of remain colors tags present in nature.

Value

A estimation of the number of remaining color tags in the field.

Examples

1
2
3
## The function is currently defined as
data(pre_used) # Data example
erc(pre_used[,1:4],pre_used[,5],2019,0.85, hide_color='EMPTY')

biagolini/GenTag documentation built on July 24, 2019, 10:14 a.m.