Discretize two numeric columns of a data frame into a matrix.

discretize(.data, dims = c(600, 600), x = "x", y = "y")

Arguments

.data

Data frame

dims

Dimensions of matrix

x

Name of x column in the data frame

y

Name of y column in the data frame

Value

A matrix with dimensions dims