Learn R Programming

vdar (version 0.1.3-2)

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-2

License

GPL-3

Maintainer

Solveig Pospiech

Last Published

January 4th, 2022

Functions in vdar (0.1.3-2)

predict.vqda

predict.vqda
vqda

Weighted Quadratic Discriminant Analysis
vlda

Weighted Linear Discriminant Analysis
uncertainties

Simulated observation uncertainties
calc_estimate_true_var

Estimate true group variance
generalized_mean

Generalized mean
force_posdef

Force positive definiteness
uncertainties_coda

Simulated observation uncertainties of compositional data
dataobs

Simulated observation data
datatrue_coda

Simulated true compositional data
datatrue

Simulated true data
dataobs_coda

Simulated observation of compositional data