General Tree Data Structure

addChild | Add a child at a point in the tree. |

addSibling | Add a sibling to the current node. |

addSiblingNode | Add a node to the list of siblings of the current node. |

as.data.frame.GeneralTree | Convert a GeneralTree to a data frame. |

as.GeneralTree | Convert an object to a GeneralTree. |

as.GeneralTree.data.frame | Convert a data frame to a GeneralTree. |

as.GeneralTree.expression | Convert a R parsed expression to a GeneralTree. |

branch_depth | Get the depth of a branch. |

branchToList | Convert a branch to a list. |

dataWorker | Return the data associated with a node. |

deep_clone | Deep clone a General tree |

deep_clone.GeneralTree | Deep clone a General Tree. |

delete | Delete all a node and all nodes below that node. |

deleteId | Delete a node with a given id. |

equals-.GeneralTree | Deep clone a General Tree. |

GeneralTree | A tree that can have multiple childeren per parent. |

generate_grViz | Create a DiagrammeR graph that represents the tree. |

getChildData | Get the data of the child nodes below the current node. |

getChildId | Get the ids of the child nodes below the current node. |

getChildNodes | Get all the child nodes below the current node. |

getIterVal | Function heavily inspired by iterators package. |

getIterVal.GeneralTreeIter | Function heavily inspired by iterators package. |

have_child | Tell whether the current node has childeren. |

have_parent | Returns true when the node has a parent. |

have_private_siblings | Tell whether the current node has private siblings. |

have_siblings | Tell whether the current node has siblings. |

id | Return the id of the current node. |

initialize | Initialize a General Tree object. |

isDiscovered | Informs whether the node has the discovered bit set. |

is_last_sibling | Tell whether the current node is the last sibling. |

is_root | Tell whether the passed node is the root of the tree. |

isRootDiscovered | Returns whether the node has the is_root_discovered bit set. |

isSingletonTree | Informs whether the tree is a singleton tree. |

iteratorImpl | The implementation of the GeneralTree method iterator. |

iter.GeneralTree | Internal function heavily inspired by iterators package. |

left_child | Return the left child of the node. |

nextElem.GeneralTree | Internal function heavily inspired by iterators package. |

nextElem.GeneralTreeIter | Internal function heavily inspired by iterators package. |

nextElemWorkerImpl | The implementation of the GeneralTree method nextElem. |

nodeInfoToString | Convert a node to string. |

parent | Get the parent of a node. |

plot.GeneralTree | Plot a GeneralTree object. |

print.GeneralTree | Print a GeneralTree object. |

resetDiscovered | The implementation of the GeneralTree method iterator. |

resetDiscoveredOnBranch | Reset the discover bit of all the nodes on the branch to... |

root | Return the root of the node. |

searchData | Search for an id in starting at a point in the tree and... |

searchNode | Search for an id in starting at a point in the tree and... |

setDiscovered | Set the discovered bit to a certain state. |

set-.GeneralTree | Deep clone a General Tree. |

setRootDiscovered | Set the root discovered bit to a certain state. |

siblings | Return the private siblings of the node. |

toString | Convert a branch to a string. |

treeDepth | Get the depth of a tree. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.