> On Oct 16, 2018, at 7:55 AM, Alfredo Cortell > <alfredo.cortell.nico...@gmail.com> wrote: > > Hola, buenos dias. > > Escribo porque me gustaría saber si puedo convertir un data frame que > consiste en variables (indicadas por columnas) y en filas (el número de > personas que tienen cada variable en determinada hora del dia.) en un tipo > de objeto DNAbin para poder calcular la divergencia de Tajima. He estado > dándole vueltas, y no encuentro la forma de convertirlo > > Muchas gracias,
Rhelp is an English language mailing list, but I think there was (? still is) a Spanish language R mailing list. > > > > V1 V2 V3 V4 V5 V6 V7 > 1 0 0 0 0 0 0 > 4 0 0 1 0 0 0 > 18 0 0 3 1 0 0 > 20 0 0 155 1 0 0 > 50 0 0 200 1 0 0 > 120 0 0 200 1 0 0 > 456 0 0 200 1 0 0 > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. David Winsemius Alameda, CA, USA "The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.