RC.print.tree {RC}R Documentation

Print tree of parent-child relationships

Description

This function is typically used after a tree (of parent-child relationships) has been generated with the RC.tree() function. RC.print.tree() outputs a hierarchical tree in text format. The 'current' computation is indicated with ***. The tree contains all children and parents of the 'current' computation. However, the brothers/sisters are not shown.

Usage

RC.print.tree(mytree = "")

Arguments

mytree tree produced by RC.tree()

Examples

#search computations with the 'babies' keyword
#r <- RC.ls(keyword="babies")
#fetch and print the tree about the first computation from the list
#mytree.1 <- RC.tree(r$url[1])
#RC.print.tree(mytree.1)
#fetch the tree based on the root parent
#mytree.2 <- RC.tree(mytree.1$url[1])
#print the entire tree (generates a lot of output)
#RC.print.tree(mytree.2)

[Package RC version 1.0.1.27 Index]