Skip to contents

Applies logarithmic transformation to data to reduce skewness.

Usage

f_log(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_log(
  x = x
)

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