The amalgamated part is appended last; the retained parts keep their
original order. parts is one-based.
References
Aitchison (1986), The Statistical Analysis of Compositional Data, Chapter 2, which defines amalgamation and notes that it does not preserve the log-ratio structure.
Examples
V <- c(1, 2, 3, 4, 5, 6, 7, 8)
Amalgam(V, V)
#> $composition
#> [1] 1
#>
#> $amalgamated
#> [1] 36
#>
#> $parts
#> [1] 1 2 3 4 5 6 7 8
#>
#> $kept
#> integer(0)
#>
#> $D
#> [1] 1
#>
#> $method
#> [1] "Amalgamation"
#>
#> attr(,"class")
#> [1] "morie_rich_result" "list"
