Description Usage Arguments Details Value Examples
View source: R/BranchStructs_methods.r
FUNCTION_DESCRIPTION
1 2 | ## S3 method for class 'BranchStructs'
setGraph(obj, ts_accessor = getTreestruct)
|
obj |
BranchStructs object |
Invalid treestructs will have graph set to NA. This means that all functions making use of graphs will have to be able to handle NA as an input in addition to a graph object. This is a design decision. An alternative is to use an empty graph object, but then it becomes less obvious which treestructs are invalid and hence don't have graphs, and could lead to including erroneous data in analyses.
OUTPUT_DESCRIPTION
1 2 3 4 5 6 | ## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.