Skip to content

zipfR

0.6-70Package record

Statistical Models for Word Frequency Distributions

10packages dependsuggested by 3
34.3Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

Statistical models and utilities for the analysis of word frequency distributions. The utilities include functions for loading, manipulating and visualizing word frequency data and vocabulary growth curves. The package also implements several statistical models for the distribution of word frequencies in a population. (The name of this package derives from the most famous word frequency distribution, Zipf's law.)

Changes in 0.6-70
  • parallelization of lnre.bootstrap(), using forked processed on Unix-like platforms or with a properly initialized snow cluster (based on the 'parallel' package)
  • bootstrapped confidence intervals in lnre() are speeded up substantially
  • additional productivity measures and some other improvements to productivity.measures()
  • lnre.productivity.measures() computes approximate expectations for samples from LNRE population or estimates sampling distribution by parametric bootstrapping
  • plot.tfl() now also plots relative frequencies (pmw) for comparison across different sample sizes, as well as population distributions described by LNRE models
  • plot method (plot.lnre) for LNRE models, showing either the log-transformed type density function or the distribution function for a quick visualisation
  • all plot methods accept list of objects in first argument to avoid do.call() trickery, but need to be called explicitly rather than via method dispatch in this case
Show all changes in 0.6-70Hide the rest of the changes in 0.6-70
  • lnre() now allows a user-defined cost function in parameter estimation (e.g to fit against Zipf ranking = top part of TFL, or to set parameters based on implicit constraints)
  • bug fix: tfl2spc() no longer includes types with f = 0 in frequency spectrum, and spc() now complains in such cases
  • new default colour scheme and line styles

From NEWS in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Stefan Evert <stefan.evert@fau.de>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Stefan",
                      family = "Evert",
                      role = c("aut", "cre"),
                      email = "stefan.evert@fau.de"),
               person(given = "Marco",
                      family = "Baroni",
                      role = "aut",
                      email = "marco.baroni@unitn.it"))
as necessary.

Found the following URLs which should use \doi (with the DOI name only):
  File ‘productivity_measures.Rd’:
    http://dx.doi.org/10.18419/opus-2556
  File ‘zipfR_package.Rd’:
    http://dx.doi.org/10.18419/opus-2556

CRAN check page ↗

Slowest check: 2.7 min · r-devel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.6-70
READMEYes · 10 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.6-70Citation fileYes · cites a publicationWebsiteYes
Help pages
57includes a package overview page
Examples that run
87%41 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 2 never run · 3 hold no code
Exported functions with examples
100%
Documented parameters
87%
Return-value docs
88%
Help pages citing references
30%
Vignettes (1)

Downloads

34.3K
CRAN downloads in the past year
Rank #2,379 · ~94/day · ~2.9K/mo
Daily download trend is not available in this view yet.
2.4K30 days
6.9K90 days
34.3K1 year
Compare downloads with other packages →
Also on173 r2u6 autocran872 conda_forge189 c2d4u

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)

Installing zipfR adds no packages beyond those that come with R.

Depends (1)
R >= 3.0.0
Imports (6)
methodsutilsstatsgraphicsgrDevicesparallel
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
10direct
0indirect
Imports 10
Suggested by 3
Show all 13 packagesHide all 13 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (from the free-text Author field) (2)

Maintainer since 0.6-0 (2006)

Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.6-70Latest
    record
    2020-10-11 · current release · diff ↗ ·
    added 5 exports
    lnre.productivity.measures, plot.spc, plot.tfl, plot.vgc, plot.lnre
  • R
    R 4.0.0 released · 2020-04-24
  • 0.6-66
    record
    2019-10-01 · diff ↗ ·
    added 6 exports
    postdlnre, postldlnre, postplnre, postqlnre, bootstrap.confint, productivity.measures
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.6-10
    record
    2017-08-17 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
Show 17 earlier eventsHide 17 earlier events
  • R
    R 3.0.0 released · 2013-04-03
  • 0.6-6
    record
    2012-04-03 · diff ↗ ·
    removed 3 exports
    zipfR.legend, plot.spc, plot.vgc
    added 1 export
    lnre.bootstrap
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • R
    R 2.10.0 released · 2009-10-26
  • R
    R 2.9.0 released · 2009-04-17
  • 0.6-5
    record
    2008-11-16 · diff ↗ ·
    added 1 export
    read.multiple.objects
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • R
    R 2.6.0 released · 2007-10-03
  • R
    R 2.5.0 released · 2007-04-24
  • R
    R 2.4.0 released · 2006-10-03
  • 0.6-0
    record
    2006-08-23
  • R
    R 2.3.0 released · 2006-04-24

Package metadata

First published
2006-08-23
Total releases
6 / 20 yrs
License
GPL-3 OSI
Minimum R
≥ 3.0.0
Bundled data
1,002 KB / 34 files
Download size
1.4 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("zipfR")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for zipfR version 0.6-70 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy