dense2d: 2D density heatmap plot

Description Usage Arguments Value

View source: R/segmenTools.R

Description

copied from Josh O'Brien posted at https://stackoverflow.com/questions/17093935/r-scatter-plot-symbol-color-represents-number-of-overlapping-points/17096661#17096661

Usage

1
dense2d(x, y, pch = 20, nbin = c(128, 128), ...)

Arguments

x

x-coordinates

y

y-coordinates

pch

pch argument to plot

nbin

number of bins in each dimension, see argument nbins densCols and gridsize to bkde2D

...

arguments to plot (hint:cex can be useful)

Value

the plotted data.frame, including local densities


raim/segmenTools documentation built on Nov. 9, 2018, 5:38 p.m.