[Phylobase-commits] r172 - pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Apr 7 01:14:35 CEST 2008


Author: bbolker
Date: 2008-04-07 01:14:35 +0200 (Mon, 07 Apr 2008)
New Revision: 172

Modified:
   pkg/R/class-phylo4.R
Log:

 tiny typo


Modified: pkg/R/class-phylo4.R
===================================================================
--- pkg/R/class-phylo4.R	2008-03-24 22:52:32 UTC (rev 171)
+++ pkg/R/class-phylo4.R	2008-04-06 23:14:35 UTC (rev 172)
@@ -29,7 +29,7 @@
     if(any(is.na(edge))) stop("NA are not allowed in edge matrix")
     if(ncol(edge) > 2) warning("the edge matrix has more than two columns")
     edge <- as.matrix(edge[, 1:2])
-    colnames(edge) <- c("ancestor", "desendent")
+    colnames(edge) <- c("ancestor", "descendant")
 
     ## edge.length
     if(!is.null(edge.length)) {



More information about the Phylobase-commits mailing list