lifexp: Life expectancy tag sequence sample

Description Usage Arguments Value Author(s) See Also Examples

Description

Create combinations with variable sample probability.

Usage

1
2
3
4
lifexp(ntag, colorsname, nspecial = 0, name1 = "Metal", name2 = "EMPTY", 
location1 = 1, location2 = 2, nspecial1 = 1, nspecial2 = 1, currentyear = NA,
 yearsurvival = 1, lifespan = NA, yearusedcombinations, 
usedcombinations, speed = 1, ignorecolor = NA)

Arguments

ntag

Number of tag to be used in each animal.

colorsname

Names/Code of color tags to be sample.

nspecial

Number of special tags/codes, such as metallic, "EMPTY", or flag (min 0, max 2).

name1

Name of special tag 1.

name2

Name of special tag 2.

location1

Position (or group of positions) to special band 1.

location2

Position (or group of positions) to special band 2.

nspecial1

Number of special tag 1 that will be present in all sequences genetated.

nspecial2

Number of special tag 2 that will be present in all sequences genetated.

currentyear

Current year.

yearsurvival

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

lifespan

Combinations older the lifespan will be automatically disregard.

yearusedcombinations

The year in which the combination was used.

usedcombinations

Pre used combinations.

speed

Speed for color frequency adjustment.

ignorecolor

Color to be ignored on lifexp.

Value

A sequencie of tags

Author(s)

Biagolini-Jr.

See Also

allequal genseq vfrequency

Examples

1
2
3
4
5
data(pre_used) # Data example
# Create an object contain the name/code of tag colors 
tcol<-c("Black","Blue","Brown","Gray","Green","Pink","Purple","Red","White","Yellow")
genseq(30, 4,tcol, "lifexp", pre_used[,1:4], 
yearusedcombinations=pre_used[,5], yearsurvival= 0.8, lifespan=5, currentyear=2019)

GenTag documentation built on June 24, 2019, 5:02 p.m.