Skip to contents

Get density of points in 2 dimensions.

Usage

get_density(x, y, ...)

Arguments

x

A numeric vector.

y

A numeric vector.

n

Create a square n by n grid to compute density.

Value

The density within each square.