plotCompare

0th

Percentile

Scatter plot with equal axes.

Plots a scatter plot of two variables with equal scales for the axes.

Keywords
hplot
Usage
plotCompare(var1, var2, limi = 0, xlab = substitute(var1), ylab = substitute(var2), log = "", title = "", ...)
Arguments
var1
data to plot (x co-ordinate)
var2
data to plot (y co-ordinate)
limi
limits of axes. If not specified, axes limits are determined from input data.
xlab
x-axis label
ylab
y-axis label
log
specifies if axes are on the log scale (as argument to 'par')
title
title of plot
...
other parameters input to plot
Value

Outputs the limits used in the plot (the input 'limi' argument if specified).

• plotCompare
Examples
x <- runif(100)
y <- rbeta(100,0.5,0.5)
plotCompare(x,y)

Documentation reproduced from package BGmix, version 1.32.0, License: GPL-2

Community examples

Looks like there are no examples yet.