Re: [R] how to convert indvidual pairwise distances to matrix

2008-11-09 Thread Jorge Ivan Velez
Dear Christy, Take a look at http://www.nabble.com/Efficient-way-to-fill-a-matrix-to20351720.html#a20351720 Here are three options to do what you want: # Data set mydata=read.table(textConnection(" point1point2distance 1 10 1 24 2

Re: [R] how to convert indvidual pairwise distances to matrix

2008-11-09 Thread Daniel Malter
- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von skinny c Gesendet: Sunday, November 09, 2008 7:11 PM An: r-help@r-project.org Betreff: [R] how to convert indvidual pairwise distances to matrix Hello, I am trying to convert list of pairwise distances to a distance matrix for

[R] how to convert indvidual pairwise distances to matrix

2008-11-09 Thread skinny c
Hello, I am trying to convert list of pairwise distances to a distance matrix for spatial analysis (kriging). For instance, I have something like this for each pair pf points, and I want to convert it to a matrix: point1point2distance 1 10 1 2