Package: HistDat 0.2.0

HistDat: Summary Statistics for Histogram/Count Data

In some cases you will have data in a histogram format, where you have a vector of all possible observations, and a vector of how many times each observation appeared. You could expand this into a single 1D vector, but this may not be advisable if the counts are extremely large. 'HistDat' allows for the calculation of summary statistics without the need for expanding your data.

Authors:Michael Milton

HistDat_0.2.0.tar.gz
HistDat_0.2.0.zip(r-4.5)HistDat_0.2.0.zip(r-4.4)HistDat_0.2.0.zip(r-4.3)
HistDat_0.2.0.tgz(r-4.4-any)HistDat_0.2.0.tgz(r-4.3-any)
HistDat_0.2.0.tar.gz(r-4.5-noble)HistDat_0.2.0.tar.gz(r-4.4-noble)
HistDat_0.2.0.tgz(r-4.4-emscripten)HistDat_0.2.0.tgz(r-4.3-emscripten)
HistDat.pdf |HistDat.html
HistDat/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/multimeric/histdat/issues

On CRAN:

8 exports 1 stars 0.74 score 0 dependencies 7 scripts 228 downloads

Last updated 3 years agofrom:d33e1ca807. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 05 2024
R-4.5-winOKSep 05 2024
R-4.5-linuxOKSep 05 2024
R-4.4-winOKSep 05 2024
R-4.4-macOKSep 05 2024
R-4.3-winOKSep 05 2024
R-4.3-macOKSep 05 2024

Exports:as.ecdfHistDatmeanmedianquantilesdsortvar

Dependencies:

HistDat

Rendered fromhistdat.Rmdusingknitr::rmarkdownon Sep 05 2024.

Last update: 2021-04-06
Started: 2021-03-27

Readme and manuals

Help Manual

Help pageTopics
'HistDat': Summary statistics for histogram/count dataHistDat-package
Index the histogram datasub,HistDat-method [,HistDat-method
Converts an object to an empirical cumulative density function. This is a generic function.as.ecdf
Converts this histogram to an instance of the "ecdf" class, allowing the calculation of cumulative densities, and quantilesas.ecdf,HistDat-method
Converts this histogram to a vector. Not recommended if there are many counts as this would result in an incredibly long vectoras.vector,HistDat-method
Concatenate observations into this instancec,HistDat-method c,HistDatCompatible-method
The constructor function for the HistDat class. This is the only official way to create an instance of this class.HistDat
S4 class for histogram dataHistDat-class
Calculates the total number of observations in a histogram datasetlength,HistDat-method
Calculates the largest observation in the histogram datasetmax,HistDat-method
Calculates the mean value of all observations in the histogram datasetmean,HistDat-method
Calculates the median value of the observations in the histogram datasetmedian,HistDat-method
Calculates the smallest observation in the histogram datasetmin,HistDat-method
Returns the empirical quantiles of the observations represented by this classquantile,HistDat-method
Calculates the range of values of the observations in the histogram datasetrange,HistDat-method
Calculates the standard deviation of the observations in the histogram datasetsd,HistDat-method
This is a dummy method so that sort can be applied to HistDat entries However it does nothing, because the values in a HistDat are sorted at the time of creation.sort,HistDat-method
Calculates the sum of all observations in the histogram datasetsum,HistDat-method
Calculates the variance of observations in the histogram datasetvar,HistDat-method