The isometric log-ratio (ilr) function computes a set of balances by applying the natural log of the geometric mean of concentrations on the right-hand-side of the balance scheme divided by the geometric mean of those on the left-hand-side, multiplied by a normalizing coefficient, i.e.