Forum: help
Monitor Forum | Start New Threadsub sampling individuals from genind [ Reply ] By: Stephen Petersen on 2008-11-24 19:36 | [forum:1031] |
Hello, I am having trouble as I try to subsample from a population. I would like to subsample after I have created the genind object so that I can seperate populations then randomly pull samples from a specific population. I'm not sure if am on the correct track but I am able to sample the names (indlist <- sample(data$ind.names, 5, replace = FALSE, prob = NULL) from my population but I can't seem to sample the alleles (data$tab ?) or all the data associated with the individuals. Any help will be appreciated Thanks Stephen |