clrmat: Centred log-ratio transformation

View source: R/clrmat.R

clrmatR Documentation

Centred log-ratio transformation

Description

Program clrmat calculates the centred log-ratio transformation for a matrix of compositions.

Usage

clrmat(X)

Arguments

X

A matrix of compositions

Value

A matrix containing the transformed data

Author(s)

Jan Graffelman jan.graffelman@upc.edu

Examples

data(Artificial)
Xsim.com <- Artificial$Xsim.com
Xclr <- clrmat(Xsim.com)

ToolsForCoDa documentation built on April 3, 2025, 7:47 p.m.