Learn R Programming

Correlplot (version 1.1.0)

jointlim: Establish limits for x and y axis

Description

jointlim computes a sensible range for x and y axis if two sets of points are to be plotted simultaneously

Usage

jointlim(X, Y)

Value

xlim

minimum and maximum for x-range

ylim

minimum and maximum for y-range

Arguments

X

Matrix of coordinates

Y

Matrix of coordinates

Author

Jan Graffelman (jan.graffelman@upc.edu)

Examples

Run this code
X <- matrix(runif(20),ncol=2)
Y <- matrix(runif(20),ncol=2)
print(jointlim(X,Y)$xlim)

Run the code above in your browser using DataLab