Package: NetworkChange 1.1.0

Jong Hee Park

NetworkChange: Bayesian Package for Network Changepoint Analysis

Network changepoint analysis for undirected network data. The package implements a hidden Markov network change point model (Park and Sohn (2020)). Functions for break number detection using the approximate marginal likelihood and WAIC are also provided. Version 1.1.0 includes high-performance C++ implementations via 'Rcpp'/'RcppArmadillo' for 5-15x faster MCMC sampling, along with modern 'ggplot2'-based visualizations with colorblind-friendly palettes.

Authors:Jong Hee Park [aut, cre], Yunkyu Sohn [aut]

NetworkChange_1.1.0.tar.gz
NetworkChange_1.1.0.tar.gz(r-4.7-arm64)NetworkChange_1.1.0.tar.gz(r-4.7-x86_64)NetworkChange_1.1.0.tar.gz(r-4.6-arm64)NetworkChange_1.1.0.tar.gz(r-4.6-x86_64)
NetworkChange_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
NetworkChange/json (API)

# Install 'NetworkChange' in R:
install.packages('NetworkChange', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

openblascppopenmp

1.51 score 16 scripts 611 downloads 33 exports 111 dependencies

Last updated from:39125c6787. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK251
linux-devel-x86_64OK228
source / vignettesOK232
linux-release-arm64OK233
linux-release-x86_64OK225
wasm-releaseOK184

Exports:BreakDiagnosticBreakPointLossdrawPostAnalysisdrawRegimeRawkmeansUMakeBlockNetworkChangeMarginalComparemultiplotNetworkChangeNetworkChangeRobustNetworkStaticplotContourplotnetarrayplotUplotVscale_color_networkchangescale_color_networkchange_cscale_fill_networkchangestartSstartUVtheme_networkchangeULUstateSampleULUstateSample.mpfrupdatebupdatebmupdatePupdateSupdates2mupdateUupdateUmupdateVupdateVmWaicCompare

Dependencies:abindbackportsbase64encbslibcachemcheckmatecliclustercodacolorspacecorpcorcpp11crayondata.tabledigestdplyrevaluatefarverfastmapfdrtoolfontawesomeforcatsforeignFormulafsgenericsGGallyggplot2ggrepelggstatsglassogluegmpGPArotationgridExtragtablegtoolshighrHmischmshtmlTablehtmltoolshtmlwidgetsigraphisobandjpegjquerylibjsonliteknitrlabelinglatticelavaanlifecyclemagrittrMASSMatrixMatrixModelsmcmcMCMCpackmemoisemimemnormtmvtnormnetworknlmennetnumDerivpatchworkpbapplypbivnormpillarpkgconfigplyrpngprettyunitsprogresspsychpurrrqgraphquadprogquantregR6rappdirsRColorBrewerRcppRcppArmadilloreshape2rlangrmarkdownRmpfrrpartrstudioapiS7sassscalesSparseMstatnet.commonstringistringrsurvivaltibbletidyrtidyselecttinytexutf8vctrsviridisviridisLitewithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Detect a break number using different metricsBreakDiagnostic
Compute the Average Loss of Hidden State Changes from Expected Break PointsBreakPointLoss
Plot of latent node clusterdrawPostAnalysis
Plot of network by hidden regimedrawRegimeRaw
K-mean clustering of latent node positionskmeansU
Major Power Alliance Network (1816 - 2012)MajorAlly
Build a synthetic block-structured temporal data with breaksMakeBlockNetworkChange
Compare Log Marginal LikelihoodMarginalCompare
Printing multiple ggplots in one file (DEPRECATED)multiplot
Changepoint analysis of a degree-corrected multilinear tensor modelNetworkChange
Changepoint analysis of a degree-corrected multilinear tensor model with t-distributed errorNetworkChangeRobust
Degree-corrected multilinear tensor modelNetworkStatic
Contour plot of latent node positionsplotContour
Plot of network array dataplotnetarray
Plot of latent node positionsplotU
Plot of layer-specific network generation rules.plotV
Postwar Alliance Network (1846 - 2012)PostwarAlly
NetworkChange Discrete Color Scalescale_color_networkchange
NetworkChange Continuous Color Scalescale_color_networkchange_c
NetworkChange Discrete Fill Scalescale_fill_networkchange
Sample a starting value of hidden statesstartS
Starting values of U and VstartUV
NetworkChange ggplot2 Themetheme_networkchange
Hidden State SamplerULUstateSample
Hidden State Sampler with precisionULUstateSample.mpfr
Update time-constant regression parametersupdateb
Update regime-changing regression parametersupdatebm
Update transition matrixupdateP
Update latent statesupdateS
Update regime-specific varianceupdates2m
Update time-constant latent node positionsupdateU
Regime-specific latent node positionsupdateUm
Update layer specific network generation rulesupdateV
Update V from a change-point network processupdateVm
Compare WAICWaicCompare