LatentDigraph: Construct a LatentDigraph object

LatentDigraphR 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

  1. numObserved

  2. numLatents

  3. numNodes

  4. toIn

  5. toEx

  6. L

  7. observedNodes

  8. latentNodes

  9. parents

  10. children

  11. ancestors

  12. descendants

  13. trFrom

  14. getTrekSystem

  15. inducedSubgraph

  16. stronglyConnectedComponent

  17. plot

  18. observedParents

  19. 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 graphID for the appropriate form of L.

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


SEMID documentation built on July 26, 2023, 5:40 p.m.