Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mat2vec

Weights matrix to vector


Description

Converts a weights matrix to a vector of weights. If the matrix is symmetrical only upper triangle values are returned in the vector.

Usage

mat2vec(x, diag = FALSE, tol = 1e-10)

Arguments

x

A weights matrix

diag

Logical: should diagonal values be included?

tol

Tolerance level

Author(s)

Sacha Epskamp <mail@sachaepskamp.com>


qgraph

Graph Plotting Methods, Psychometric Data Visualization and Graphical Model Estimation

v1.6.9
GPL-2
Authors
Sacha Epskamp [aut, cre], Giulio Costantini [aut], Jonas Haslbeck [aut], Adela Isvoranu [aut], Angelique O. J. Cramer [ctb], Lourens J. Waldorp [ctb], Verena D. Schmittmann [ctb], Denny Borsboom [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.