plotDensityPoints: Plot density as color, add outlier points

Description Usage Arguments Examples

View source: R/evaluateCorrDecay.R

Description

Plot density as color, add outlier points

Usage

1
2
3
4
5
6
7
plotDensityPoints(
  x,
  y,
  n = 100,
  outlierQuantile = 1e-05,
  densityExponent = 0.25
)

Arguments

x

x values

y

y values

n

the number of equally spaced points at which the density is to be estimated.

outlierQuantile

show points if density is less than this quantile

densityExponent

color based on density^densityExponent

Examples

1
2
3
4
x = rnorm(10000)
y = rnorm(10000)

plotDensityPoints( x, y)

GabrielHoffman/decorate documentation built on July 26, 2021, 12:18 a.m.