Skip to contents

Centers log-transformed proportions by subtracting the geometric mean of the row.

Usage

f_clr(x = NULL, ...)

Arguments

x

(required, zoo object) Zoo time series object to transform.

...

(optional, additional arguments) Ignored in this function.

Value

zoo object

Examples

x <- zoo_simulate(
  cols = 5,
  data_range = c(0, 500)
  )

y <- f_clr(
  x = x
)

if(interactive()){
  zoo_plot(x)
  zoo_plot(y)
}