Arguments
df2p
data.frame
to be plotted. Only the fist two columns are taken into account as
x and y coordinates respectively
is.special
boolean vector of length equal to the number of rows in df2p
. Specifies
which points should be highlighed seperately in a different color
dens.subsample
if the number of points exceeds this number, subsample the number of points for the
density estimation to that number. Any non-numeric value disables subsampling.
dens.special
Flag indicating whether the points of the special population should be colored
according to their density
sparse.points
Either percentage (<=1,>=0=1,>
) or the absolute number
of points in the sparsely populated area that should be drawn seperately. A value of 0 means that these points
will not be drawn.
dens.n
passed on to ggplot2::stat_density2d
: argument: n
add.text.cor
flag indicating whether a text token with the correlation coefficient should be included in the lower
right corner of the plot