impute_zeroes: Replace zeroes with non-zero values in order to perform a...

View source: R/clr_lite.R

impute_zeroesR Documentation

Replace zeroes with non-zero values in order to perform a CLR-transformation

Description

See clr_lite.

Usage

impute_zeroes(vec, method = "logunif")

Arguments

vec

A vector of compositional data that may contain zeroes.

method

The method for zero imputation. One of "logunif", "unif" or "const".

Value

A vector with all the zeroes replaced with non-zero values.

See Also

clr_lite


thomazbastiaanssen/Volatility documentation built on July 13, 2024, 9:09 a.m.