t I had copied the list.
>
> From: Arne Erpenbach [arne.erpenb...@gmx.de]
> Sent: Thursday, February 20, 2014 5:19 AM
> To: Mitchell, Kendra
> Cc: r-sig-ecology
> Subject: Re: [R-sig-eco] BiodiversityR CAPdiscrim error
>
> Hi Kendra, (sorry I got your name wrong, missed
Sent: Thursday, February 20, 2014 5:19 AM
To: Mitchell, Kendra
Cc: r-sig-ecology
Subject: Re: [R-sig-eco] BiodiversityR CAPdiscrim error
Hi Kendra, (sorry I got your name wrong, missed the comma.)
[cc'ing the list: better to keep stuff there, so others could comment.]
Ah, that's the troub
23, 0.925998, 0.660053, 0.597656, 0.635738, 0.715052,
> 0, 0.868732, 0.944295, 0.944567, 0.981199, 0.984128, 0.949748,
> 0.838411, 0.806423, 0.983309, 0.999218, 0.927436, 0.948375, 0.94201,
> 0.901174, 0.905485, 0.924442, 0.941102, 0.943876, 0.793747, 0.99723,
> 0.999566, 0.843149, 0.943907,
Mitchell,
I suspect that the indexing is not working.
I just ran it on one of my datasets, having a distance matrix on the
left hand side of the formula, and a variable on the right hand side
(and define data=envir).
So: just split up your matrix in a distance matrix and an environmental
matrix
I'm trying to run CAPdiscrim on a dissimilarity matrix with a catagorical
variable attached on the right with cbind
str(MD2.tyc.om)
num [1:34, 1:35] 0 0.53 0.857 0.962 0.763 ...
- attr(*, "dimnames")=List of 2
..$ : NULL
..$ : chr [1:35] "" "" "" "" ...
CAPdiscrim(MD.2.tyc.om~MD.2.tyc.om[,