View source: R/Density_report.R
| Density_report | R Documentation |
Calculates and reports network density statistics.
Density_report(edge.matrix)
edge.matrix |
Network edge matrix (e.g., from qgraph). |
A character string reporting how many edges differ from zero out of the possible edges, and the resulting density as a percentage.
w <- matrix(c(0, 0.3, 0,
0.3, 0, 0.2,
0, 0.2, 0), nrow = 3,
dimnames = list(c("A", "B", "C"), c("A", "B", "C")))
Density_report(w)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.