Normalized Aitchison distance between two data sets
ced(x, y, ni)
matrix or data frame
matrix or data frame of the same size as x
normalization parameter. See details below.
This function has been mainly written for procudures that evaluate imputation or replacement of rounded zeros. The ni parameter can thus, e.g. be used for expressing the number of rounded zeros.
the compositinal error distance
Hron, K., Templ, M., Filzmoser, P. (2010) Imputation of missing values for compositional data using classical and robust methods Computational Statistics and Data Analysis, 54 (12), 3095-3107.
Templ, M., Hron, K., Filzmoser, P., Gardlo, A. (2016). Imputation of rounded zeros for high-dimensional compositional data. Chemometrics and Intelligent Laboratory Systems, 155, 183-190.
1 2 3 4 5
Loading required package: robustbase Loading required package: ggplot2 Loading required package: data.table Loading required package: e1071 Loading required package: pls Attaching package: 'pls' The following object is masked from 'package:stats': loadings sROC 0.1-2 loaded Attaching package: 'robCompositions' The following object is masked from 'package:robustbase': alcohol  0.03052465
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.