GetAttribute {data.tree} | R Documentation |
Get an attribute from a Node.
Description
Get an attribute from a Node.
Usage
GetAttribute(
node,
attribute,
...,
format = FALSE,
inheritFromAncestors = FALSE,
nullAsNa = TRUE
)
Arguments
node |
The |
attribute |
determines what is collected. The
|
... |
in case the |
format |
if |
inheritFromAncestors |
if |
nullAsNa |
If TRUE (the default), then NULL is returned as NA. Otherwise it is returned as NULL. |
Examples
data(acme)
GetAttribute(acme$IT$Outsource, "cost")