s-news
[Top] [All Lists]

Editing trees

To: s-news@lists.biostat.wustl.edu
Subject: Editing trees
From: "adrian ming" <adrianwhm@hotmail.com>
Date: Wed, 22 Aug 2007 21:35:31 +1000
Hi people,
 
Could someone help me out here?
 
I edited a tree using the edit.tree function which produced the edited tree. I now want to edit this edited tree but can't seem to be able to do it in SPLUS. The command and error message are as follows:
 
The original tree: ptree8
The edited tree: ptree8edit
 
ptree8edit2 _ edit.tree(ptree8edit, node=29, var="empmct", splitl=102.5)

Problem in edit.tree: argument subset= not matched: edit.tree(object = ptree8, node = 14, var = "empmct", splitl = 65.5, subset = c("1", "2", "68", "205", "218", "447", "602", "610", "624", "663", "712", "843", "1042", "1663", "2141", "2200", "2773", "2775", "2949", "2989", "3022", "3100", "3179", "3243", "3322", "3555", "3574", "6378"))
Use traceback() to see the call stack
I think it has something to do with the way the nodes are numbered. The edited tree still uses the node numbers from the original tree and somehow SPLUS encounters a problem when editing the edited tree again.
 
Thanks for the help!
 
adrian


Fast track your education. Become TAFE qualified fast.
<Prev in Thread] Current Thread [Next in Thread>