[R] How to generate a distance matrix?

2010-04-30 Thread burgundy
Hi, I'm trying to generate a distance matrix between sample pairs (example below). I'm not very familiar with the loop command which I expect I will need for this. The example below demosntrates what I'd like to get out of the data - essentially, to calculate the proportion of positions where

Re: [R] How to generate a distance matrix?

2010-04-30 Thread Tal Galili
Wouldn't the ?dist function help you ? Contact Details:--- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com (English)