Learn R Programming

LSD (version 2.0)

comparisonplot: Comparisonplot

Description

function to compare two vectors extensively

Usage

comparisonplot(x, y, histbreaks = 30, adjust = 1, colpal = "heat", main = NULL, xlim = NULL, ylim = NULL, ab = FALSE, add.density = FALSE, col.density = "darkred", pimp = FALSE, ...)

cplot(x, y, histbreaks = 30, adjust = 1, colpal = "heat", main = NULL, xlim = NULL, ylim = NULL, ab = FALSE, add.density = FALSE, col.density = "darkred", pimp = FALSE, ...)

Arguments

x
x-vector
y
y-vector
histbreaks
breaks of the histograms
adjust
scale the used bandwidth ( see demo.heatboxplot() )
colpal
which colorpalette should be chosen ( see disco() )
main
maintitle of the plot
xlim
xlimits, standard graphics parameter
ylim
ylimits, standard graphics parameter
ab
should an abline be added to the plot
add.density
add density line
col.density
color of the density line
pimp
PIMP MY PLOT
...
additional parameters to be passed to points and plot

See Also

heatscatter,heatboxplot,LSD.demo.tour

Examples

Run this code
demo.cplot()

Run the code above in your browser using DataLab