LatentDigraph {SEMID} | R Documentation |
Construct a LatentDigraph object
Description
Creates an object representing a latent factor graph. The methods that are currently available to be used on the latent factor graph include
numObserved
numLatents
numNodes
toIn
toEx
L
observedNodes
latentNodes
parents
children
ancestors
descendants
trFrom
getTrekSystem
inducedSubgraph
stronglyConnectedComponent
plot
observedParents
getMixedGraph
see the individual function documentation for more information.
Usage
LatentDigraph(L = matrix(0,1,1),
observedNodes = seq(1, length = nrow(L)),
latentNodes = integer(0))
Arguments
L |
see |
observedNodes |
a vector of positive integers representing the vertex numbers of the observed nodes. These will correspond, in order, to the first length(observedNodes) rows of L. |
latentNodes |
a vector of positive integers representing the vertex numbers of the latent nodes. These will correspond, in order, to the last length(latentNodes) rows of L. |
Value
An object representing the LatentDigraph