split_lines_poly(shp.lines, shp.poly, variables.lines, variables.poly)SpatialLinesDataFrameSpatialPolygonsDataFrameshp.lines that are appended to the split lines shape object.shp.poly that are appended to the split lines shape object.SpatialLinesDataFrame