Learn R Programming

gremes (version 0.1.1)

RootDepSet: An empty object of class RootDepSet

Description

Creates 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".

Usage

RootDepSet()

Arguments

Value

Creates an object of class RootDepSet with two empty slots $value and $root.

Examples

Run this code
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)

Run the code above in your browser using DataLab