cplot {complex} | R Documentation |
Scatterplots for complex variables
Description
Function produces six scatterplots to show relations between the two complex variables x and y.
Usage
cplot(x, y, which = 1, ...)
Arguments
x |
vector of a complex variable. |
y |
second vector of a complex variable. |
which |
defines, what type of plot to produce. |
... |
otehr parameters passed to plot method. Works only for |
Details
The plots are positioned to satisfy two rules: 1. When a scatterplot for a c.r.v. is produced, the real part should be in x-axis, while the imaginary should be in the y-axis. 2. When parts of variables x and y are compared, the part for $x$ should be in x-axis, while the part for y should be in y-axis, which should the reflect the idea that x could be an explanatory variable for y.
Value
The function produces a plot and does not return any value
Author(s)
Ivan Svetunkov, ivan@svetunkov.ru
References
Svetunkov, S. & Svetunkov I. (2022) Complex Autoregressions. In Press.
See Also
Examples
# Generate random complex variables
x <- complex(real=rnorm(100,10,10), imaginary=rnorm(100,10,10))
y <- complex(real=rnorm(100,10,10), imaginary=rnorm(100,10,10))
cplot(x, y)