Re: [R] Trouble obtaining results from a loop
I think this gives you what you are looking for: > P.genotype.sample [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,]262236155 5 [2,]232833555 8 [3,]132888558 8
[R] Trouble obtaining results from a loop
#Hello, #I have a question about obtaining results from a loop I have written. #Below is a sample of individual genotypes from a genetic question I am working on called "P.genotype.sample ". P.genotype.sample<-matrix(10,10,10) P.genotype.sample[,1]<-c(2,2,1,5,1,1,5,6,1,3) P.genotype.sample[,2]<-c(