Package: eddington 4.3.0

eddington: Compute a Cyclist's Eddington Number

Compute a cyclist's Eddington number, including efficiently computing cumulative E over a vector. A cyclist's Eddington number <https://en.wikipedia.org/wiki/Arthur_Eddington#Eddington_number_for_cycling> is the maximum number satisfying the condition such that a cyclist has ridden E miles or greater on E distinct days. The algorithm in this package is an improvement over the conventional approach because both summary statistics and cumulative statistics can be computed in linear time, since it does not require initial sorting of the data. These functions may also be used for computing h-indices for authors, a metric described by Hirsch (2005) <doi:10.1073/pnas.0507655102>. Both are specific applications of computing the side length of a Durfee square <https://en.wikipedia.org/wiki/Durfee_square>. Some additional author-level metrics such as g-index and i10-index are also included in the package.

Authors:Paul Egeler [aut, cre], Tashi Reigle [ctb]

eddington_4.3.0.tar.gz
eddington_4.3.0.zip(r-4.7)eddington_4.3.0.zip(r-4.6)eddington_4.3.0.zip(r-4.5)
eddington_4.3.0.tgz(r-4.6-x86_64)eddington_4.3.0.tgz(r-4.6-arm64)eddington_4.3.0.tgz(r-4.5-x86_64)eddington_4.3.0.tgz(r-4.5-arm64)
eddington_4.3.0.tar.gz(r-4.7-arm64)eddington_4.3.0.tar.gz(r-4.7-x86_64)eddington_4.3.0.tar.gz(r-4.6-arm64)eddington_4.3.0.tar.gz(r-4.6-x86_64)
eddington_4.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
eddington/json (API)
NEWS

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

Bug tracker:https://github.com/pegeler/eddington2/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • daily_totals - A year of simulated bicycle ride mileages, aggregated by day
  • rides - A year of simulated bicycle ride mileages

On CRAN:

Conda:

cpp

2.78 score 12 scripts 710 downloads 14 exports 5 dependencies

Last updated from:48fcabc82a. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK152
linux-devel-x86_64OK162
source / vignettesOK209
linux-release-arm64OK124
linux-release-x86_64OK193
macos-release-arm64OK152
macos-release-x86_64OK212
macos-oldrel-arm64OK196
macos-oldrel-x86_64OK497
windows-develOK125
windows-releaseOK114
windows-oldrelOK105
wasm-releaseOK118

Exports:durfeeE_cumE_nextE_numE_reqE_satEddingtonEddingtonModuleg_indexget_haversine_distanceh_indexi10_indexindexread_gpx

Dependencies:cliR6Rcpprlangxml2

Computing your Eddington number using the eddington package.

Rendered fromeddington.Rmdusingknitr::rmarkdownon May 13 2026.

Last update: 2023-12-11
Started: 2020-03-24