layer_adj: The function of converting the adjacency matrix into the...

View source: R/layer_adj.R

layer_adjR Documentation

The function of converting the adjacency matrix into the topological layer.

Description

The function of converting the adjacency matrix into the topological layer.

Usage

layer_adj(true_adjace)

Arguments

true_adjace

a p * p adjacency matrix

Value

Layer_true: a p * 2 matrix to store the information of layer. The first column is the node label, and the second column is the corresponding layer labels.

Author(s)

Mingyang Ren renmingyang17@mails.ucas.ac.cn.

References

Zhao, R., He X., and Wang J. (2022). Learning linear non-Gaussian directed acyclic graph with diverging number of nodes. Journal of Machine Learning Research.


TransGraph documentation built on Oct. 19, 2023, 5:06 p.m.