The function returns all combinations of pairs of log-ratios.

pairwise_basis(dim)

Arguments

dim

An integer indicating the number of components. If a dataframe or matrix is provided, the number of components is inferred from the number of columns. If a character vector specifying the names of the parts is provided the number of component is its length.

Value

matrix