Discriminant Analysis Incorporating Individual Uncertainties
Overview
The qda() function from package 'MASS' is extended to calculate a weighted linear (LDA) and quadratic discriminant analysis (QDA) by changing the group variances and group means based on cell-wise uncertainties. The uncertainties can be derived e.g. through relative errors for each individual measurement (cell), not only row-wise or column-wise uncertainties. The method can be applied compositional data (e.g. portions of substances, concentrations) and non-compositional data.
Compatability with package compositions 2.0.4
- new version of compositions required minor corrections, respectively work arounds could be simplified
Bugfix: DA has now a droplevels
- in the grouping argument of the DA function, now empty levels of the factor are dropped.
- This avoids that too small groups occur
NEWS.md setup
- added NEWS.md creation with newsmd
From NEWS.md in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Solveig Pospiech <s.pospiech@hzdr.de>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Solveig",
family = "Pospiech",
role = c("aut", "cre"),
email = "s.pospiech@hzdr.de")
as necessary.- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 12
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 50%
- Documented parameters
- 83%
- Return-value docs
- 100%
- Help pages citing references
- 17%
Downloads
Dependencies
Installing vdar adds 7 packages (6 with compiled code, 9.9 MB of source tarballs). Heaviest: compositions 2.7 MB, robustbase 2.2 MB, bayesm 2.1 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.1.3-2Latest
- RR 4.1.0 released · 2021-05-18
- 0.1.32020-07-17 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 0.1.2-12020-03-19 · diff ↗
- 0.1.12020-03-10
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2020-03-10
- Total releases
- 4 / 6 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.6.0
- Bundled data
- 24 KB / 6 files
- Download size
- 37 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("vdar")Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.