Learn R Programming

Correlplot (version 1.1.0)

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, ...)

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

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

Author

Jan Graffelman (jan.graffelman@upc.edu)

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