| setRootDepSet | R Documentation |
RootDepSetIt is used to set the slots $value and $root of an object of class RootDepSet and
its subclasses, such as Neighborhood and FlowConnect. Every node in the graph with observable
variable
must be taken as a root. For a fixed root, a subset of nodes must be chosen.
setRootDepSet(obj, subset, root, ...) ## S3 method for class 'RootDepSet' setRootDepSet(obj, subset, root, ...)
obj |
Object of class |
subset |
list containing the subsets on the set of vertices, referred by their names. An element of the list should be named with the name of the corresponding root to that subset. |
root |
One dimensional array of the roots, corresponding to the subsets above referred by name. |
... |
additional arguments |
An object of class RootDepSet with non empty slots $value and $root which
are assigned the arguments subset and root respectively.
rds<- RootDepSet()
rds_values<- list(a = c("a", "b"), b = c("b", "c", "d"))
rds_roots<- c("a", "b")
rds<- setRootDepSet(rds, rds_values, rds_roots)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.