Package: eddington 4.2.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>.

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

eddington_4.2.0.tar.gz
eddington_4.2.0.zip(r-4.5)eddington_4.2.0.zip(r-4.4)eddington_4.2.0.zip(r-4.3)
eddington_4.2.0.tgz(r-4.4-x86_64)eddington_4.2.0.tgz(r-4.4-arm64)eddington_4.2.0.tgz(r-4.3-x86_64)eddington_4.2.0.tgz(r-4.3-arm64)
eddington_4.2.0.tar.gz(r-4.5-noble)eddington_4.2.0.tar.gz(r-4.4-noble)
eddington_4.2.0.tgz(r-4.4-emscripten)eddington_4.2.0.tgz(r-4.3-emscripten)
eddington.pdf |eddington.html
eddington/json (API)
NEWS

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

Peer review:

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

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

On CRAN:

3.26 score 12 scripts 237 downloads 9 exports 5 dependencies

Last updated 3 months agofrom:4439063bee. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 15 2024
R-4.5-win-x86_64OKNov 15 2024
R-4.5-linux-x86_64OKNov 15 2024
R-4.4-win-x86_64OKNov 15 2024
R-4.4-mac-x86_64OKNov 15 2024
R-4.4-mac-aarch64OKNov 15 2024
R-4.3-win-x86_64OKNov 15 2024
R-4.3-mac-x86_64OKNov 15 2024
R-4.3-mac-aarch64OKNov 15 2024

Exports:E_cumE_nextE_numE_reqE_satEddingtonEddingtonModuleget_haversine_distanceread_gpx

Dependencies:cliR6Rcpprlangxml2

Computing your Eddington number using the eddington package.

Rendered fromeddington.Rmdusingknitr::rmarkdownon Nov 15 2024.

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