Skip to content
Back to formatted view

Raw Message

Message-ID: <SNT150-W66B7B542645583FD0BEE7CF0F30@phx.gbl>
Date: 2015-04-01T21:04:50Z
From: marion howard
Subject: Error in dis[sppInSample,sppInSample]:subscript out of bounds

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 list and tree .txt files and calculated PD without any problem.
To calculate MPD I have entered:>MPD1=mpd(list,cophenetic(tree))
Error:Error in dis[sppInSample, sppInSample] : subscript out of bounds
Thank you for you helpCheersMarion. 		 	   		  
	[[alternative HTML version deleted]]