Create a Matrix of Symmetric Coordinates
Function to compute a matrix of symmetric coordinates for any two parts, v1
and v2
, of a n
by p
data frame or matrix of compositions.
gx.symm.coords.mat(x, v1, v2)
x |
a data frame or matrix of compositions. |
v1 |
the index of the first part for which symmetric coordinates are required. |
v2 |
the index of the second part for which symmetric coordinates are required. |
z |
a |
Any less than detection limit values represented by negative values, or zeros or other numeric codes representing blanks in the data, must be removed prior to executing this function, see ltdl.fix.df
.
For compositional data analysis all the data must be in the same measurement units.
Robert G. Garrett
Kynclova, P., Hron, K., and Filzmoser, P., 2017. Correlation Between Compositional Parts Based on Symmetric Balances. Mathematical Geosciences, 49:777-796.
## Make test data available data(nockolds) ## Compute and display symmetric coordinates for Ca and Na gx.symm.coords.mat(nockolds, 6, 7) ## Detach test data rm(nockolds)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.