Dear all, Is it possible to convert a data frame with variables (columns) and the number of persons for each variable at a given time at the day (rows) to DNAbin object type, so that I can calculate Tajima's divergence? I've been trying, but I just can't find the way. Thank you very much, 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]]