View source: R/cTransformations.R
cscale | R Documentation |
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.
cscale(y, scaling = c("normalisation", "standardisation", "max"))
cdescale(yScaled, y, scaling = c("normalisation", "standardisation", "max"))
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. |
A vector of the same size as y
, containing scaled complex variable.
Ivan Svetunkov, ivan@svetunkov.com
Svetunkov, S. & Svetunkov I. (2022) Complex Autoregressions. In Press.
scale
# Generate random complex variables
y <- complex(real=rnorm(100,10,10), imaginary=rnorm(100,10,10))
yScaled <- cscale(y)
cdescale(yScaled, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.