Skip to content
Prev 302859 / 398503 Next

help, please! matrix operations inside 3 nested loops

Hi
Better to use dput(your.data) for sharing data. Anyway I am still confused 
but you probably are able to clarify things further.
the
different
In those 2 rows for one individual sometimes the genetic marker differs
[1] 222 231

What do you want to do with them?
possibilities:
individuals
points
Based on your example,
structure(list(Ind.nr. = c(1L, 1L, 2L, 2L, 3L, 3L, 4L, 4L, 6L, 
6L), Pop.nr. = c(101L, 101L, 101L, 101L, 101L, 101L, 101L, 101L, 
101L, 101L), scm266 = c(305L, 305L, 305L, 305L, 305L, 305L, 305L, 
305L, 305L, 305L), rms1280 = c(318L, 318L, 313L, 321L, 324L, 
324L, 313L, 313L, 313L, 321L), scm247 = c(222L, 231L, 999L, 999L, 
231L, 231L, 230L, 230L, 231L, 231L), rms1107 = c(135L, 135L, 
96L, 130L, 135L, 135L, 126L, 135L, 135L, 135L)), .Names = c("Ind.nr.", 
"Pop.nr.", "scm266", "rms1280", "scm247", "rms1107"), class = 
"data.frame", row.names = c(NA, 
-10L))

what is your desired result?

Regards
Petr
sep="\t")
current
but
of my
a
instead
calculation
+
+  :
daten<-as.data.frame(daten) in
http://www.R-project.org/posting-guide.html