Description Usage Arguments Details See Also Examples
Returns a tree with a user-defined tree slot removed.
1 | rmOtherSlt(tree, slt_nm)
|
tree |
|
slt_nm |
name of slot to be removed |
A user can specify a new slot using the setNdSlt()
function
or upon reading a tree. This can be removed using this function by specifying
the name of the slot to be removed.
setNdOther
, setNdsOther
,
https://github.com/DomBennett/treeman/wiki/set-methods
1 2 3 4 5 6 7 8 9 | library(treeman)
tree <- randTree(10)
vals <- runif(min=0, max=1, n=tree['nall'])
tree <- setNdsOther(tree, tree['all'], vals, 'confidence')
tree <- updateSlts(tree)
summary(tree)
tree <- rmOtherSlt(tree, 'confidence')
tree <- updateSlts(tree)
summary(tree)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.