View source: R/gr_RootDepSet.R
| RootDepSet | R Documentation |
RootDepSetCreates an object of class RootDepSet with two empty slots $value and $root.
The slots are supposed to be assigned values. The simplest way is using method setRootDepSet.
Every node with observable variable should be taken as a root.
A subset of nodes is created for every root.
For every root a subset of nodes must be created.
For other examples see Vignette "Subsets and Coordinates".
RootDepSet()
Creates an object of class RootDepSet with two empty slots $value and $root.
rdsobj<- RootDepSet()
rds_values<- list(a=c("a", "b"), b=c("b", "c", "d"))
rds_roots<- c("a", "b")
rdsobj<- setRootDepSet(rdsobj, rds_values, rds_roots)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.