Re: [R] How to extract diagonals

2007-06-20 Thread Gavin Simpson
On Wed, 2007-06-20 at 18:24 +0200, Birgit Lemcke wrote: > Hello Gavin! > > > I thank you so much that you help me here. > Only to answer your questions there are 452 samples (species) in A and > the same number in B. If your matrices are both 452x452 then distance() is going to take a while to c

Re: [R] How to extract diagonals

2007-06-20 Thread Birgit Lemcke
Hello Gavin! I thank you so much that you help me here. Only to answer your questions there are 452 samples (species) in A and the same number in B. Unfortunately I will get the book from Legendre & Legendre only in 2 days (small library) but I think for the moment I am busy to try and learn

Re: [R] How to extract diagonals

2007-06-20 Thread Gavin Simpson
On Wed, 2007-06-20 at 15:09 +0200, Birgit Lemcke wrote: > Hello Gavin and thanks for your answer. > > Your completely right I dont need the diagonal that is the bisecting > line of the angle. > > I need another diagonal of the (now) matrix. > > A1 A2 A3 A4 B1 B2 B3 B4 > A1 > A

Re: [R] How to extract diagonals

2007-06-20 Thread Birgit Lemcke
Hello Gavin and thanks for your answer. Your completely right I don´t need the diagonal that is the bisecting line of the angle. I need another diagonal of the (now) matrix. A1 A2 A3 A4 B1 B2 B3 B4 A1 A2 A3 A4 B1 X B2 X B3X B4

Re: [R] How to extract diagonals

2007-06-20 Thread Gavin Simpson
On Wed, 2007-06-20 at 13:26 +0200, Birgit Lemcke wrote: > Hello, > > I am using Mac OS X on a power book and R 2.5.0 > > I try to extract a diagonal from a dissimilarity matrix made with > dsvdis, with this code: > > diag(DiTestRR) > > But I get this error message: > > Fehler in array(0, c(n

[R] How to extract diagonals

2007-06-20 Thread Birgit Lemcke
Hello, I am using Mac OS X on a power book and R 2.5.0 I try to extract a diagonal from a dissimilarity matrix made with dsvdis, with this code: diag(DiTestRR) But I get this error message: Fehler in array(0, c(n, p)) : 'dim' spezifiziert ein zu großes Array english: Error in array(0, c(n,