Learn R Programming

balance (version 0.2.4)

balance.fromContrast: Transform Samples with the ilr of a Balance

Description

Transform Samples with the ilr of a Balance

Usage

balance.fromContrast(x, contrast)

Arguments

x

A matrix with rows as samples (N) and columns as components (D).

contrast

A vector. One column of a serial binary partition matrix with values [-1, 0, 1] describing D components.

Value

A transformation of samples for the balance provided.