Re: [R] distance matrix

2011-05-05 Thread antu
I don't know whether I understood your question, but 1.1, 1.2 , 1.3 all are subsample of 1 , so, rather than comparing 1000 subsample, comparison of 20 pop level makes more sense in my case. thanks for query - Ananta Acharya Graduate Student -- View this message in context: http://r.78969

[R] distance matrix

2011-05-05 Thread antu
Hello all, I am wondering if there is anyway to create distance matrix for replicated data for example, I have a data like sample pop id var1var2var3var4 1.1 1 a 1 1 0 1 1.2 1 a 0 0 1 0 1.3 1 a

Re: [R] Convert a presence/ absence matrix to a list of presence only

2011-05-05 Thread antu
Thank you, it perfectly worked, except I had to modify some codes on the rep("", maxLen - length(sp)) because it gave me some error, thanks -- View this message in context: http://r.789695.n4.nabble.com/Convert-a-presence-absence-matrix-to-a-list-of-presence-only-tp3468479p3498116.html Sent fro

[R] Convert a presence/ absence matrix to a list of presence only

2011-04-22 Thread antu
this thread (http://r.789695.n4.nabble.com/how-to-combine-presence-only-data-sets-to-one-presence-absence-table-td830140.html ) covered the need for making present list list to a matrix, Now, I ran into an opposite problem. I have a data matrix with 0, 1 on them, what I need now is list of presen

Re: [R] how to combine presence only data sets to one presence/absence table

2011-04-20 Thread antu
What about the opposite of this, This has been very helpful for me, but at the same time, I needed the opposite of this to.. ie, this to spl_A spl_B spl_C spcs1 1 1 0 spcs2 1 0 1 spcs3 0 1 1 this spl_A spl_B spl_C spcs1 spcs1spc