Re: [R] Cross-validating two matrices

2009-07-27 Thread Steve Lianoglou
Hi, On Jul 27, 2009, at 3:29 PM, Brian McCarthy wrote: Hello, I am trying to help a colleague with an R problem (see below) to whit I can only generate a very inelegant solution. Any advice would be welcome. Thanks, Brian If you have two matrices, say a species by trait matrix (Matrix 1

[R] Cross-validating two matrices

2009-07-27 Thread Brian McCarthy
Hello, I am trying to help a colleague with an R problem (see below) to whit I can only generate a very inelegant solution. Any advice would be welcome. Thanks, Brian If you have two matrices, say a species by trait matrix (Matrix 1 below) and a plot by species matrix (Matrix 2 below), i