Methods and Measures for Semantic Network Analysis
Overview
Implements several functions for the analysis of semantic networks including different network estimation algorithms, partial node bootstrapping (Kenett, Anaki, & Faust, 2014 doi:10.3389/fnhum.2014.00407), random walk simulation, and a function to compute global network measures. Significance tests, including permutation testing, and plotting features are also implemented.
- FIX: group tests in
bootstrap_test_SemNeTandtest.bootSemNeTinflated statistics bysqrt(iter)(Tu, Chodorow, Brooks, Ezrina, & Valian, under review); recompute any results - UPDATE:
bootstrap_test_SemNeTnow returns bootstrap intervals of within-iteration group contrasts (ci_level,adjust,ci_type,power,legacyarguments) - UPDATE:
bootstrap_test_SemNeTnode bootstraps are summarized descriptively (no interval or p-value) - UPDATE:
bootstrap_test_SemNeTlegacy parametric tests needlegacy = TRUEand always warn - UPDATE:
bootstrap_SemNeT$summarystandard error is no longer divided bysqrt(iter); observed (full-data) statistics are stored in$observed - ADD:
bootstrap_test_SemNeTWaldz,p_value, and minimal detectable effectmdefor normal intervals (the default) - ADD:
bootstrap_test_SemNeTbias_se(|bias| /se; above about 0.25 the bootstrap is off-centre from the observed difference), printed asbias/se - ADD:
bootstrap_test_SemNeTandpermutation_SemNeTprint a note under their summary tables that they should always be run together - FIX:
cnalphahad no effect - FIX:
cncounted co-occurrences on uncleaned responses, so placeholders (" ","NA") emptied the network - FIX:
nrwcounted every adjacent pair twice per participant; pairs are now counted once (counts are numbers of participants) - FIX:
pfdropped zero-distance pairs, leaving identical responses unlinked
Show all changes in 2.1.0Hide the rest of the changes in 2.1.0
- FIX:
binary2responsesignored response order in an ordered numeric matrix - FIX:
permutation_SemNeTcomputedqon the weighted network; all measures are now unweighted - FIX:
asplper-node averages use distances to the other nodes; weightedasplrejects negative weights - FIX:
similaritymethod"euclid"returned a distance, whichtmfgtreated as a similarity; it now returns1 / (1 + d) - FIX:
tmfgstops on undefined similarities and on asymmetric input withoutdepend = TRUE - FIX:
equaterejects raw responses and duplicated response names - FIX:
forward_flowtreats""," ", and"NA"as missing and requiresmin_responseof at least 2 - FIX:
qwithsigned = TRUEweighted the negative term by N / (P - N) instead of N / (P + N) (Gomez et al., 2009); also fixed in {EGAnet} - FIX:
cohens_dpools standard deviations by degrees of freedom (agrees with the equal-variance t-test) and handles groups of one - FIX:
random_walk5-unique-node statistic depended on the other network's walk; isolated start nodes and zero variation handled - FIX:
random_network_testsummed weights for edge counts; networks are binarized, p-values are Monte Carlo, and a degree-preserving null is added - UPDATE:
cngainscutoffforenrich = TRUE(default0.50, was a hardcoded0.35) and warns that there is no established value - UPDATE:
pfnow uses the response-order distance of Paulsen et al. (1996) and needs response order (raw or ordered responses, not 0/1 data) - UPDATE:
semantic_network_measuresdefaults toweighted = FALSE(as documented) and gainsna.rm,signed, andtype(passed tocc,q, andaspl) - UPDATE:
ccgainsna.rmand no longer rounds per-node values; weightedccdivides weights by the largest absolute weight - UPDATE:
similaritystops on missing or infinite values (and non-0/1 data for"angular","faith","jaccard","rr");finalizestops on missing values and non-wholeminimum_cases - UPDATE:
qrequires a symmetric network and returnsNaNfor a network without edges - UPDATE:
seed = 0means random results, likeNULL - UPDATE:
response_analysisreturnsvocabulary(Jaccard overlap and rarefied richness) and ignores never-given responses in binary input - UPDATE:
random_walkno longer reports p-values (they only reflectiter); differences, Monte Carlo intervals, and Cohen's d are given instead - UPDATE:
bootstrap_SemNeTnode bootstrap drops the same nodes from every group in an iteration - UPDATE:
bootstrap_SemNeTretries draws only for correlation similarities ("cor","phi"); plot shows the full-data value - UPDATE:
permutation_SemNeTtests several measures at once and returnsmdeanddiagnostics - UPDATE:
permutation_SemNeTgains two-sided options"two_tailed_centered"and"two_tailed_doubled", tolerates floating-point ties, and aligns samples of different widths or vocabularies - UPDATE: Shiny Bootstrap tab shows intervals instead of t-test/ANOVA/ANCOVA; labels and captions updated
- ADD:
aspltypeargument ("arithmetic", the default and previous behavior, or"harmonic") - ADD:
seedforbootstrap_SemNeTandpermutation_SemNeT; each resample gets its own seed, so results do not depend oncoresorset.seed - ADD:
random_network_testseedargument - ADD:
printmethods forbootstrap_test_SemNeTandpermutation_SemNeT
From NEWS in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 47includes a package overview page
- Examples that run
- 100%37 run in a plain check (1 of them under a condition)
- Exported functions with examples
- 77%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 51%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 68
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
3 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/alexchristensen/semnet on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-09-07Named in .Rbuildignore: .claudeCommits: at least 1 crediting it in the message
- Claude Sonnet 51 commit · Sep 2026
Dependencies
Installing SemNeT adds 117 packages (61 with compiled code, 98 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 2.1.0Latest2026-10-14 · current release · diff ↗ ·
removed 1 export
responses_to_binaryadded 3 exports
binary2responses, find_textcleaner_objects, responses2binary - 2.0.02026-09-12 · diff ↗ ·
added 19 exports
aspl, bootstrap_SemNeT, bootstrap_test_SemNeT, cc, cn, compare_networks, forward_flow, nrw, permutation_SemNeT, pf, q, random_network_test, random_walk, read_uploaded_file, response_analysis, responses_to_binary, semantic_network_measures, simulate_fluency, tmfg - RR 4.6.0 released · 2026-04-24
- 1.4.52025-11-03 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2023-08-12
- 1.4.42023-08-12 · diff ↗
- RR 4.3.0 released · 2023-04-21
- archivedRemoved from CRAN2023-03-27issues were not corrected in time
- RR 4.2.0 released · 2022-04-22
- 1.4.32021-09-04 · diff ↗
- 1.4.22021-06-22 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.4.1
- 1.4.0
Show 8 earlier eventsHide 8 earlier events
- 1.3.02020-06-09 · diff ↗ ·
removed 3 exports
compare.nets, partboot, partboot.testadded 8 exports
CN, NRW, PF, bootSemNeT, compare_nets, equate, finalize, test.bootSemNeT - RR 4.0.0 released · 2020-04-24
- 1.2.0
- 1.1.32020-02-07 · diff ↗
- 1.1.22019-10-29 · diff ↗
- 1.1.1
- 1.0.02019-08-05
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-08-05
- Total releases
- 14 / 7 yrs
- License
- GPL (>= 3.0)
- Minimum R
- ≥ 3.6.0
- Bundled data
- 544 KB / 9 files
- Download size
- 719 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("SemNeT")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.