Description Usage Arguments Value Author(s) Examples

count the number of points that fall into various sized subparts of a scatter plot. The graphing region can be split into cells based on a uniform or normal marginal distribution separately for the x and y variables.

1 2 |

`x,y` |
vectors of x coordinates. If y is not specified, the function expects x to be a two-column matrix with x and y values in columns 1 and 2 respectively. |

`grid` |
pair of values to specify the way the graph is to be split into parts. Specify x and then y. |

`xDist,yDist` |
the distribution the variables might be expected to follow. The default is to consider uniformly distributed but any alternative text will lead to an assumption of both margins being normally distributed. |

`addmargins` |
logical: should sums be added to both rows and columns. |

A text description of the number of points in each subregion of the scatter plot. The table of counts can then be compared to the expected number of points in each subregion.

A. Jonathan R. Godfrey

1 2 3 4 5 |

```
sh: 1: cannot create /dev/null: Permission denied
The BrailleR.View, option is set to FALSE.
Attaching package: 'BrailleR'
The following objects are masked from 'package:graphics':
boxplot, hist
The following object is masked from 'package:utils':
history
1 2 3 4 Sum
4 1 1 2 1 5
3 1 5 5 4 15
2 0 3 13 2 18
1 0 2 8 2 12
Sum 2 11 28 9 50
1 2 3 Sum
4 1 2 2 5
3 1 10 4 15
2 1 10 7 18
1 0 9 3 12
Sum 3 31 16 50
1 2 3 4 Sum
4 6 3 1 3 13
3 2 3 4 3 12
2 1 4 4 3 12
1 2 4 4 3 13
Sum 11 14 13 12 50
```

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.