The LogT() function returns a logarithmic transformation of the
provided time series. A natural log is returned by default.
LogT.rev() reverses the transformation.
Usage
LogT(x, base = exp(1))
LogT.rev(x, base = exp(1))
Arguments
x
A numeric vector or univariate time series of class ts.
base
A numeric value corresponding to the base with respect
to which logarithms are computed. Default: exp(1).
Value
A vector of the same length as x containing the transformed values.
References
R. H. Shumway, D. S. Stoffer, Time Series Analysis and Its
Applications: With R Examples, Springer, New York, NY, 4 edition, 2017.