View source: R/evaluateCorrDecay.R

plotDensityPoints | R Documentation |

Plot density as color, add outlier points

```
plotDensityPoints(
x,
y,
n = 100,
outlierQuantile = 1e-05,
densityExponent = 0.25
)
```

`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 |

```
x = rnorm(10000)
y = rnorm(10000)
plotDensityPoints( x, y)
```

GabrielHoffman/decorate documentation built on May 23, 2023, 1:29 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.