Description Usage Arguments Value Author(s) See Also Examples
Create combinations with equal sample probability to all colors.
1 2 | allequal(ntag, colorsname, nspecial = 0, name1 = "Metal", name2 = "EMPTY", location1 = 1,
location2 = 2, nspecial1 = 1, nspecial2 = 1)
|
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. |
A sequencie of tags
Biagolini-Jr.
genseq vfrequency lifexp
1 2 3 4 5 6 7 8 9 | # Create an object contain the name/code of tag colors
tcol<-c("Black","Blue","Brown","Gray","Green","Pink","Purple","Red","White","Yellow")
# Generate color tag combination without especial tags
genseq(30, 4, colorsname= tcol)
#Generate color tag combination with especial color (ex metallic tag for numeric identification)
genseq(30, 4, tcol, nspecial=1, name1="Metal",location1=c(2,4))
# For ongoing works, use the argument usedcombinations to informe the previus used combinations
data(pre_used) # Data example
genseq(100, 4, tcol, usedcombinations=pre_used[,1:4])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.