Learn R Programming

GenTag (version 1.0)

erc: Estimates remaining color

Description

Estimates number of remaining color tags in the field

Usage

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.

See Also

scy

Examples

Run this code
# NOT RUN {
## 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")
# }

Run the code above in your browser using DataLab