intersection_shapes: Calculate intersection matrix of two shape objects
Description
The value of row i and column j in the intersection matrix corresponds to the proportion of the area of the i'th polygon of the first shape object that intersects the j'th polygon of the second shape object
name of the data variable of shp.from that contains identification names of the polygons of shp.from. These are used as row names of the intersection matrix.
id.to
name of the data variable of shp.to that contains identification names of the polygons of shp.to. These are used as column names of the intersection matrix.
absolute
should the intersection matrix contain intersection area sizes rather than proportions?
Value
Intersection matrix with the number of rows equal to the number of polygons of shp.from and the number of columns equal to the number of polygons of shp.to.