Learn R Programming

Correlplot (version 1.0-2)

linangplot: Linang plot

Description

linangplot produces a plot of two variables, such that the correlation between the two variables is linear in the angle.

Usage

linangplot(x, y, tmx = NULL, tmy = NULL, ...)

Arguments

x
x variable
y
y variable
tmx
vector of tickmarks for the x variable
tmy
vector of tickmarks for the y variable
...
additional arguments for the plot routine

Value

Xt
coordinates of the points
B
axes for the plot
r
correlation coefficient
angledegrees
angle between axes in degrees
angleradians
angle between axes in radians
r
correlation coefficient

See Also

plotcorrelogram

Examples

Run this code
x <- runif(10)
y <- rnorm(10)
linangplot(x,y)

Run the code above in your browser using DataLab