powered by
Create combinations with defined sample probability to each colors.
vfrequency(ntag, colorsname, colorsf, nspecial = 0, name1 = "Metal", name2 = "EMPTY", location1 = 1, location2 = 2, nspecial1 = 1, nspecial2 = 1)
Number of tag to be used in each animal.
Names/Code of color tags to be sample.
Frequencies/ratio for color sample.
Number of special tags/codes, such as metallic, "EMPTY", or flag (min 0, max 2).
Name of special tag 1.
Name of special tag 2.
Position (or group of positions) to special band 1.
Position (or group of positions) to special band 2.
Number of special tag 1 that will be present in all sequences genetated.
Number of special tag 2 that will be present in all sequences genetated.
A sequencie of tags
allequal genseq lifexp
# NOT RUN { tcol<-c("Black","Blue","Brown","Gray","Green","Pink","Purple","Red","White","Yellow") p<-c(1,2,5,1,2,2,4,5,8,5) genseq(30, 4, tcol, gen_method="vfrequency", colorsf=p) # }
Run the code above in your browser using DataLab