The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Provides statistical functions to aid in the analysis of contemporary and historical corpora. These transparent functions may be useful to anyone, and were designed with the social sciences and humanities in mind. JSD (Jensen-Shannon Divergence) is a measure of the distance between two probability distributions. The JSD and Original JSD functions expand on existing functions, by calculating the JSD for distributions of words in text groups for all pairwise groups provided (Drost (2018) <doi:10.21105/joss.00765>). The Log Likelihood function is inspired by the work of digital historian Jo Guldi (Guldi (2022) <https://github.com/joguldi/digital-history>). Also includes helper functions that can count word frequency in each text grouping, and remove stop words.
| Version: | 1.0 |
| Depends: | R (≥ 3.5.0) |
| Imports: | Rcpp (≥ 1.0.9), dplyr, tidytext |
| LinkingTo: | Rcpp |
| Published: | 2026-03-23 |
| DOI: | 10.32614/CRAN.package.dhmeasures |
| Author: | Ryan Schaefer |
| Maintainer: | Steph Buongiorno <steph.buon at gmail.com> |
| BugReports: | https://github.com/stephbuon/dhmeasures/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/stephbuon/dhmeasures |
| NeedsCompilation: | yes |
| CRAN checks: | dhmeasures results |
| Reference manual: | dhmeasures.html , dhmeasures.pdf |
| Package source: | dhmeasures_1.0.tar.gz |
| Windows binaries: | r-devel: dhmeasures_1.0.zip, r-release: dhmeasures_1.0.zip, r-oldrel: dhmeasures_1.0.zip |
| macOS binaries: | r-release (arm64): dhmeasures_1.0.tgz, r-oldrel (arm64): not available, r-release (x86_64): dhmeasures_1.0.tgz, r-oldrel (x86_64): dhmeasures_1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=dhmeasures to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.