clr_matrix {microeco}R Documentation

Centered log ratio tranformation for the matrix

Description

Centered log ratio tranformation for the matrix

Usage

clr_matrix(data, mar = 2, base = exp(1), tol = .Machine$double.eps)

Arguments

data

a matrix

mar

Margin, default 2, 1 = rows and 2 = columns of data.

base

logarithmic base, default exp(1)

tol

smallest representation of a residual of unity subtraction, default .Machine$double.eps

Value

transformed matrix


[Package microeco version 0.2.1 Index]