R Observatory
Search

wavefunction

1.0.0CRAN

Wave Function Representation of Real Distributions

Archived on 27 Aug 2023

CRAN's reason
email to the maintainer is undeliverableMaintainer unreachable
Last release
1.0.0, 5 Jan 2018
1.0.0 from CRAN’s archive
# Needs the pak package. # install.packages("pak") pak::pak("cran::wavefunction@1.0.0")
CRAN checks, method
Not checkedarchived 27 Aug 2023

Real probability distributions can be represented as the square of an orthogonal sum in the Hermite basis. This representation is formally similar to the representation of quantum mechanical states as wave functions, whose squared modulus is a probability density.

Full description

Real probability distributions can be represented as the square of an orthogonal sum in the Hermite basis. This representation is formally similar to the representation of quantum mechanical states as wave functions, whose squared modulus is a probability density. This is described in more detail in "Wave function representation of probability distributions," by Madeleine B. Thompson <arXiv:1712.07764>. This package provides a reference implementation of the technique.

Maintainer
Madeleine B. Thompson
Latest release
5 Jan 2018
First release
5 Jan 2018

Compare with another package

More details
Releases
1
Date
2018-01-04
Cite

Package

Run in R for the authors' preferred citation:

citation("wavefunction")
APA
Thompson, M. B. (n.d.). wavefunction: Wave Function Representation of Real Distributions (Version 1.0.0) [Computer software]. Retrieved October 28, 2026, from https://CRAN.R-project.org/package=wavefunction
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 wavefunction version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

CRAN checks only the packages on CRAN, and it archived this one on 27 Aug 2023.

Total downloads in the last 30 days
1It is the sum of 2 channels: r2u and autoCRAN.

r2u rank

29,003 of 30,526

r2u

0 downloads in the last 30 days

Rank
29,003 of 30,526
Change
−100% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

1 downloads in the last 30 days

Rank
25,688 of 29,212
Change
−87.5% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
0
Dependent packages
0
Suggested by
0
Optional extras (2)

evaluate_in_basis

Kind
Internal R function
File
R/wavefunction.R, line 41
Lines
5
Complexity
1

  • 2 calls
  • 2 called by
  • public
  • internal

The drawing has 7 functions and 7 calls, with callers on the left.

Calls (2)
Called by (2)
Functions
7
Public exports
2
Lines of R code
96
Median complexity
2
Functions (7)
Size and composition

Lines by kind (243)

KindLinesShare
R code9640%
Tests8033%
Documentation6728%

Lines by language

LanguageLinesShare
R17672%
Rd6728%

Languages are counted from file extensions.

Files
9
R functions
7
Complexity
Median
2
Mean
1.86
Highest
4
Median lines per function
5
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
7
Calls
7
Unconnected
0
Groups
1

No coverage run is on record for this package.

Test cases
8
Lines of tests
80
Exports named in tests
100%
Has tests
Yes
Test frameworks
testthat
Test lines per line of code
0.83
Exports documented
100%
Arguments documented
100%
Return value documented
100%
Help pages with examples
100%
Examples run in checks
100%
Other documentation
README
No
Release notes file
No
Help pages
2
Lines of documentation
67

No repository on record

R releases
  • On CRAN
  • Archived
  • Release
1.0.0Archived

Archived

ArchivedBackCRAN's reasonKind
27 Aug 2023not backemail to the maintainer is undeliverableMaintainer unreachable
VersionReleasedREvents
1.0.05 Jan 20183.4.3Archived 27 Aug 2023
“email to the maintainer is undeliverable”