clrmat {ToolsForCoDa}R 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)

[Package ToolsForCoDa version 1.0.6 Index]