Re: [R] exploring dist()

2011-03-21 Thread bra86
dear all, thanks it helped a lot, the problem was that I should treat my data as set of species, not samples, so as output I get 4087*4087 matrix, which afterwards will be applied for PCO, the thing was, that in cause of big number of values, programm do not show all computed distances and even

Re: [R] exploring dist()

2011-03-20 Thread Gavin Simpson
On Fri, 2011-03-18 at 06:21 -0700, bra86 wrote: > Hello, everybody, > > I hope somebody could help me with a dist() function. > I have a data frame of size 2*4087 (col*row), where col corresponds to the > treatment and rows are So you have 4087 species? If yes, normally, you'd have the species i

Re: [R] exploring dist()

2011-03-18 Thread Sarah Goslee
It isn't quite clear what you're doing. Do you already have distances calculated elsewhere and imported into R? If so, then if you import the *full symmetric* distance matrix, you can convert it into a distance object using as.dist(). If you only have the lower triangle, you can use eg full() fro

[R] exploring dist()

2011-03-18 Thread bra86
Hello, everybody, I hope somebody could help me with a dist() function. I have a data frame of size 2*4087 (col*row), where col corresponds to the treatment and rows are species, values are Hellinger distances, I should reconstruct a distance matrix with a dist() function. I know that "euclidean"