logret
computes the log returns of a time
series, with optional de-meaning and/or standardization.
logret(dat, demean = FALSE, standardize = FALSE, ...)# S3 method for default
logret(dat, demean = FALSE, standardize = FALSE, ...)
Log returns of the (de-meaned / standardized) data.
The raw data.
Logical value indicating whether the data should be de-meaned.
Logical value indicating whether the data should be standardized (in the sense that each component series has an empirical variance equal to one).
Ignored.
logret(default)
: Log returns of vectors