Learn R Programming

TransGraph (version 1.1.0)

layer_adj: 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)

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.

Arguments

true_adjace

a p * p adjacency matrix

Author

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.