Description Usage Arguments Details See Also Examples
Given a matrix or a numeric dataframe, this function returns a composition where a set of specified columns is amalgamated together. The compositional operation of amalgamation provides sums of composition elements aimed at grouping homogeneous parts of the whole.
1 | FD.amalgamation(data, columns, name = NULL)
|
data |
a matrix or a dataframe containing only variables to be transformed into compositional variables, after amalgamation. |
columns |
numeric vector containing the position of the columns to be amalgamated together. |
name |
string containing the name of the new column resulted from the amalgamation. |
Values must be positive. In case one row-entry (or more) is NA, the whole row will be returned as NA.
FD.generate
, FD.subcomposition
, FD.normalization
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.