Package: snha 0.4.0

snha: Creating Correlation Networks using St. Nicolas House Analysis

Create correlation networks using St. Nicolas House Analysis ('SNHA'). The package can be used for visualizing multivariate data similar to Principal Component Analysis or Multidimensional Scaling using a ranking approach. In contrast to 'MDS' and 'PCA', 'SNHA' uses a network approach to explore interacting variables. For details see 'Hermanussen et. al. 2021', <doi:10.3390/ijerph18041741>.

Authors:Detlef Groth

snha_0.4.0.tar.gz
snha_0.4.0.zip(r-4.7)snha_0.4.0.zip(r-4.6)snha_0.4.0.zip(r-4.5)
snha_0.4.0.tgz(r-4.6-any)snha_0.4.0.tgz(r-4.5-any)
snha_0.4.0.tar.gz(r-4.7-any)snha_0.4.0.tar.gz(r-4.6-any)
snha_0.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
snha/json (API)
NEWS

# Install 'snha' in R:
install.packages('snha', repos = c('https://mittelmark.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/mittelmark/snha/issues

Datasets:
  • decathlon88 - Men Decathlon data from the 1988 Olympics

On CRAN:

Conda:

correlation-analysisnetworknetwork-analysisnetwork-reconstruction

4.95 score 6 stars 7 scripts 194 downloads 25 exports 1 dependencies

Last updated from:6ef6c8d18e. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK124
source / vignettesOK160
linux-release-x86_64OK115
macos-release-arm64OK170
macos-oldrel-arm64OK962
windows-develOK78
windows-releaseOK90
windows-oldrelOK89
wasm-releaseOK106

Exports:as.list.snhamgraphmgraph_accuracymgraph_autonamesmgraph_d2umgraph_degreemgraph_harmonic_centralitymgraph_lmcmgraph_lmsmgraph_ndmgraph_node_colorsmgraph_nodeColorsmgraph_shortest_pathsmgraph_trfmgraph_u2dplot.mgraphplot.snhasnhasnha_corrplotsnha_get_chainssnha_graph2datasnha_layoutsnha_llsnha_misnha_rsquare

Dependencies:MASS

Tutorial on the snha package

Rendered fromtutorial.Rmdusingknitr::rmarkdownon May 16 2026.

Last update: 2026-04-16
Started: 2023-02-12

Readme and manuals

Help Manual

Help pageTopics
snha package - association chain graphs from correlation networkssnha-package
return a list representation for an snha graph objectas.list.snha
Men Decathlon data from the 1988 Olympicsdecathlon88
create a mgraph object, an adjacency matrix of a specific typemgraph
quality measures for a predicted graphmgraph_accuracy
create names for nodes and other data structuresmgraph_autonames
create an undirected graph out of a directed graphmgraph_d2u
return the number of edges for each nodemgraph_degree
return the harmonic centraility for each node of a graphmgraph_harmonic_centrality
using linear models to check the create snha graphmgraph_lmc
linear model backward variable selectionmgraph_lms
network deconvolved data matrix using the algorithm of Feizi et. al. 2013mgraph_nd
create node colors for directed graphsmgraph_nodeColors mgraph_node_colors
caluclate shortest paths for a graph using BFS searchmgraph_shortest_paths
checking possible chains with 3 nodes for triad structuresmgraph_trf
reate a directed graph out of an undirected graphmgraph_u2d
display network or correlation matrices of snha graphsplot.mgraph plot.snha
Initialize a snha object with data.snha
visualize a matrix of pairwise correlationssnha_corrplot
Return the chains of a snha graph as data framesnha_get_chains
create correlated data for the given adjacency matrix representing a directed graph or an undirected graphsnha_graph2data
Determine graph layoutssnha_layout
log-likelihood for the given snha graph and the given chainsnha_ll
mutual information for two vectors or a matrixsnha_mi
linear model based r-square values for given data and graphsnha_rsquare