Learn R Programming

⚠️There's a newer version (0.1.3-2) of this package.Take me there.

vdar (version 0.1.3)

Discriminant Analysis Incorporating Individual Uncertainties

Description

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.

Copy Link

Version

Install

install.packages('vdar')

Monthly Downloads

159

Version

0.1.3

License

GPL-3

Maintainer

Solveig Pospiech

Last Published

July 17th, 2020

Functions in vdar (0.1.3)

vlda

Weighted Linear Discriminant Analysis
vqda

Weighted Quadratic Discriminant Analysis
uncertainties_coda

Simulated observation uncertainties of compositional data
generalized_mean

Generalized mean
dataobs_coda

Simulated observation of compositional data
calc_estimate_true_var

Estimate true group variance
datatrue

Simulated true data
predict.vqda

predict.vqda
dataobs

Simulated observation data
force_posdef

Force positive definiteness
datatrue_coda

Simulated true compositional data
uncertainties

Simulated observation uncertainties