# xyTable

##### Multiplicities of (x,y) Points, e.g., for a Sunflower Plot

Given (x,y) points, determine their multiplicity -- checking for equality only up to some (crude kind of) noise. Note that this is special kind of 2D binning.

- Keywords
- dplot

##### Usage

`xyTable(x, y = NULL, digits)`

##### Arguments

##### Value

A list with three components of same length,

x coordinates, rounded and sorted.

y coordinates, rounded (and sorted within `x`

).

multiplicities (positive integers); i.e.,
`number[i]`

is the multiplicity of `(x[i], y[i])`

.

##### See Also

`sunflowerplot`

which typically uses
`xyTable()`

; `signif`

.

##### Examples

`library(grDevices)`

```
# NOT RUN {
xyTable(iris[, 3:4], digits = 6)
## Discretized uncorrelated Gaussian:
# }
# NOT RUN {
require(stats)
xy <- data.frame(x = round(sort(rnorm(100))), y = rnorm(100))
xyTable(xy, digits = 1)
# }
```

*Documentation reproduced from package grDevices, version 3.6.0, License: Part of R 3.6.0*

### Community examples

Looks like there are no examples yet.