With the function sp_within() I created an sparse matrix from two datasets. The sparsematrix indicates which points are located in which polygons by addressing TRUE and FALS