Re: [R] Error in dis[sppInSample,sppInSample]:subscript out of bounds

2021-11-01 Thread Bert Gunter
This question is about an (unspecified! -- tell us which one so we don't have to guess) contributed package. The Posting Guide linked below says: "For questions about functions in standard packages distributed with R (see the FAQ Add-on packages in R

Re: [R] Error in dis[sppInSample,sppInSample]:subscript out of bounds

2021-11-01 Thread Zhao Shanshan
Hi, I have the same problem, can you tell me how to solve it? Hello, I am new to R and am encountering an error message that I cannot find a solution for. I am attempting to calculate MPD (mean pairwise distance), without weighting for abundance, with a community species list and a phyloge

Re: [R] Error in dis[sppInSample, sppInSample]:subscript out of bounds

2015-08-21 Thread Andrew Park
I'm pretty sure you are using the package Picante. When I received the error you described in my own project, it was due to the naming of species in the community matrix and the phylogenetic tree being slightly different (one separated latin binomials with a space, the other with an underscore). Wh

Re: [R] Error in dis[sppInSample, sppInSample]:subscript out of bounds

2015-04-02 Thread John Kane
your reply please read carefully about the dput function and supply your data in dput() format. John Kane Kingston ON Canada > -Original Message- > From: marion.how...@hotmail.com > Sent: Thu, 2 Apr 2015 07:04:50 +1000 > To: r-help@r-project.org > Subject: [R] Erro

Re: [R] Error in dis[sppInSample, sppInSample]:subscript out of bounds

2015-04-01 Thread MacQueen, Don
Before (I hope!) someone else answers in an unkind tone (and someone probably will), I have a few suggestions: 1) please use plain text email (an option somewhere in your email software). Using HTML email usually makes the email harder to read on r-help. 2) if at all possible, please try to const

[R] Error in dis[sppInSample,sppInSample]:subscript out of bounds

2015-04-01 Thread marion howard
Hello, I am new to R and am encountering an error message that I cannot find a solution for. I am attempting to calculate MPD (mean pairwise distance), without weighting for abundance, with a community species list and a phylogenetic tree in newick format with branch lengths. I have read in both