Package: quantities 0.2.2

quantities: Quantity Calculus for R Vectors

Integration of the 'units' and 'errors' packages for a complete quantity calculus system for R vectors, matrices and arrays, with automatic propagation, conversion, derivation and simplification of magnitudes and uncertainties. Documentation about 'units' and 'errors' is provided in the papers by Pebesma, Mailund & Hiebert (2016, <doi:10.32614/RJ-2016-061>) and by Ucar, Pebesma & Azcorra (2018, <doi:10.32614/RJ-2018-075>), included in those packages as vignettes; see 'citation("quantities")' for details.

Authors:Iñaki Ucar [aut, cph, cre]

quantities_0.2.2.tar.gz
quantities_0.2.2.zip(r-4.5)quantities_0.2.2.zip(r-4.4)quantities_0.2.2.zip(r-4.3)
quantities_0.2.2.tgz(r-4.4-x86_64)quantities_0.2.2.tgz(r-4.4-arm64)quantities_0.2.2.tgz(r-4.3-x86_64)quantities_0.2.2.tgz(r-4.3-arm64)
quantities_0.2.2.tar.gz(r-4.5-noble)quantities_0.2.2.tar.gz(r-4.4-noble)
quantities_0.2.2.tgz(r-4.4-emscripten)quantities_0.2.2.tgz(r-4.3-emscripten)
quantities.pdf |quantities.html
quantities/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/r-quantities/quantities/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

quantity-calculusuncertainty-propagationunits-of-measurement

7.36 score 26 stars 1 packages 49 scripts 292 downloads 7 exports 3 dependencies

Last updated 4 months agofrom:cd561485e2. Checks:OK: 9. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 27 2024
R-4.5-win-x86_64OKOct 27 2024
R-4.5-linux-x86_64OKOct 27 2024
R-4.4-win-x86_64OKOct 27 2024
R-4.4-mac-x86_64OKOct 27 2024
R-4.4-mac-aarch64OKOct 27 2024
R-4.3-win-x86_64OKOct 27 2024
R-4.3-mac-x86_64OKOct 27 2024
R-4.3-mac-aarch64OKOct 27 2024

Exports:drop_quantitiesparse_errorsparse_quantitiesparse_unitsquantitiesquantities<-set_quantities

Dependencies:errorsRcppunits

A Guide to Working with Quantities

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Oct 27 2024.

Last update: 2022-01-02
Started: 2018-06-19

Parsing Quantities

Rendered fromparsing.Rmdusingknitr::rmarkdownon Oct 27 2024.

Last update: 2022-12-04
Started: 2018-08-26

Readme and manuals

Help Manual

Help pageTopics
'quantities': Quantity Calculus for R Vectorsquantities-package
Coerce to a Data Frameas.data.frame.quantities
Coerce to a Listas.list.quantities
Coerce to a Matrixas.matrix.quantities
Combine Values into a Vector or Listc.quantities
Combine R Objects by Rows or Columnscbind.quantities rbind.quantities
Handle Correlations Between 'quantities' Objectscorrel correl<-.quantities covar<-.quantities
Lagged Differencesdiff.quantities
Drop Units and Errorsdrop_errors.quantities drop_quantities drop_quantities.data.frame drop_units.quantities
Handle Measurement Uncertainty on a Numeric Vectorerrors errors.mixed_units errors.units errors<-.mixed_units errors<-.units errors_max.units errors_min.units set_errors.mixed_units set_errors.units
Extract or Replace Parts of an ObjectExtract.quantities [.quantities [<-.quantities [[.quantities [[<-.quantities
S3 Group Generic FunctionsgroupGeneric.quantities Math.quantities Ops.quantities Summary.quantities
Parse Units and Errorsparse_errors parse_quantities parse_units
Handle Measurement Units and Uncertainty on a Numeric Vectorquantities quantities<- set_quantities
Replicate Elements of Vectors and Listsrep.quantities
Matrix Transposet.quantities
Handle Measurement Units on a Numeric Vectormixed_units.errors mixed_units.quantities set_units.errors units units<-.errors units<-.quantities