ToolsForCoDa (version 1.0.2)

clrmat: 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

Examples

Run this code
# NOT RUN {
data(Artificial)
Xsim.com <- Artificial$Xsim.com
Xclr <- clrmat(Xsim.com)
# }

Run the code above in your browser using DataLab