R: Node-class

Node-class {treeman} | R Documentation

## Node-class

### Description

The `Node` is an S4 class used for displaying node information. It is only generated when a user implements the `[[]]` on a tree. Information is only accurate if tree has been updated with `updateTree()`.

### Usage

    ## S4 method for signature 'Node'
    as.character(x)

    ## S4 method for signature 'Node'
    show(object)

    ## S4 method for signature 'Node'
    print(x)

    ## S4 method for signature 'Node'
    summary(object)

    ## S4 method for signature 'Node,character,missing,missing'
    x[i, j, ..., drop = TRUE]

### Arguments

`x` | `Node` object
`object` | `Node` object
`i` | slot name
`j` | missing
`...` | missing
`drop` | missing

### Slots

`id`

  unique ID for node in tree['ndlst']

`spn`

  length of preceding branch

`prid`

  parent node ID

`ptid`

  child node ID

`kids`

  descending tip IDs

`nkids`

  number of descending tip IDs

`txnym`

  list of associated taxonyms

`pd`

  total branch length represented by node

`prdst`

  total branch length of connected prids

`root`

  T/F root node?

`tip`

  T/F tip node?

### See Also

`TreeMan-class`, `TreeMen-class`

[Package treeman version 1.1.4 Index]