clr_imputed: Resample random values, perform CLR over each iteration and...

View source: R/clr_lite.R

clr_imputedR Documentation

Resample random values, perform CLR over each iteration and return the median result.

Description

See clr_lite.

Usage

clr_imputed(vec, method = "logunif", replicates = 1000)

Arguments

vec

A vector of compositional data that may contain zeroes.

method

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

replicates

A positive integer. Default is 1000. Controls how many replicates the median should be taken over.

Value

a vector of CLR-transformed data

See Also

clr_lite


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