Learn R Programming

ToolsForCoDa (version 1.1.0)

clrmat: Centred log-ratio transformation

Description

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

Usage

clrmat(X)

Value

A matrix containing the transformed data

Arguments

X

A matrix of compositions

Author

Jan Graffelman jan.graffelman@upc.edu

Examples

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

Run the code above in your browser using DataLab