cplot | R Documentation |
Function produces six scatterplots to show relations between the two complex variables x and y.
cplot(x, y, which = 1, ...)
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 |
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.
The function produces a plot and does not return any value
Ivan Svetunkov, ivan@svetunkov.com
Svetunkov, S. & Svetunkov I. (2022) Complex Autoregressions. In Press.
ccor
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.