I am trying to split my data frame into circular bins from a specific point (center of the plot) using 2 variables (x and y coordinates). The aim is to bin the data into 5 different circles starting from a point (2255, 2008) where the total matrix is (5599X4000). Can someone help me do that using R?
