cov_to_path {SEset}R Documentation

Path model from covariance matrix with ordering

Description

Helper function. Takes a covariance matrix and ordering and generates a lower-triangular weights matrix.

Usage

cov_to_path(sigma, ordering = NULL, digits = 2)

Arguments

sigma

input matrix, with rows and columns in desired topological ordering Must be an invertible square matrix

ordering

character vector containing the dimension names of the input matrix in the desired ordering

digits

the number of digits used to round the output

Value

lower triangular matrix containing regression weights of the path model. Element ij represents the effect of X_j on X_i

See Also

network_to_path


[Package SEset version 1.0.1 Index]