[Phylobase-devl] [phylobase-Bugs][274] Inconsistant output for node labels

phylobase-bugs at r-forge.r-project.org phylobase-bugs at r-forge.r-project.org
Tue Dec 23 22:46:02 CET 2008


Bugs item #274, was opened at 2008-12-23 16:46
Status: Open
Priority: 3
Submitted By: François Michonneau (francois)
Assigned to: Nobody (None)
Summary: Inconsistant output for node labels 
Component: None
Resolution: None
Severity: None
Version: None
Operating System: None
URL: 


Initial Comment:
if you only ask for the node labels for an object with no node labels you get a character vector of length 0 if you only ask for the node labels, but get a vector of 'NA' if you ask for 'allnode'. It seems to me that it's not coherent. Any opinions?

> data(geospiza)
> labels(geospiza, "node")
character(0)
> labels(geospiza, "all")
 [1] "fuliginosa"   "fortis"       "magnirostris" "conirostris"  "scandens"    
 [6] "difficilis"   "pallida"      "parvulus"     "psittacula"   "pauper"      
[11] "Platyspiza"   "fusca"        "Pinaroloxias" "olivacea"     NA            
[16] NA             NA             NA             NA             NA            
[21] NA             NA             NA             NA             NA            
[26] NA             NA            


----------------------------------------------------------------------

You can respond by visiting: 
http://r-forge.r-project.org/tracker/?func=detail&atid=488&aid=274&group_id=111


More information about the Phylobase-devl mailing list