latentProject: Project out latent variables

View source: R/projection.R

latentProjectR Documentation

Project out latent variables

Description

Project out latent variables

Usage

latentProject(graph, latent, v, only_directed = FALSE, sort = 1)

Arguments

graph

an object of class mixedgraph

latent

vertices to project out

v

alternatively, vertices to keep

only_directed

logical: should only directed edges be added in?

sort

integer:1 for unique but unsorted neighbours in the adjList, 2 for sorted before being added in.

Details

only_directed should only be used in special situations, such as when computing non-recursive intrisic sets.


rje42/ADMGs2 documentation built on Sept. 3, 2024, 7:39 p.m.