cscale {complex} | R Documentation |
Functions scale real and imaginary parts of a complex variable
Description
Function cscale()
will do the scaling based on the selected method, while
the function cdescale()
will transform the variable to get to the
original units.
Usage
cscale(y, scaling = c("normalisation", "standardisation", "max"))
cdescale(yScaled, y, scaling = c("normalisation", "standardisation", "max"))
Arguments
y |
vector of a complex variable in the original scale. |
scaling |
scaling method to use. "normalisation" implies scaling
to make sure that |
yScaled |
vector of the already scaled complex variable. |
Value
A vector of the same size as y
, containing scaled complex variable.
Author(s)
Ivan Svetunkov, ivan@svetunkov.ru
References
Svetunkov, S. & Svetunkov I. (2022) Complex Autoregressions. In Press.
See Also
Examples
# Generate random complex variables
y <- complex(real=rnorm(100,10,10), imaginary=rnorm(100,10,10))
yScaled <- cscale(y)
cdescale(yScaled, y)
[Package complex version 1.0.0 Index]