Learn R Programming

tmap (version 1.6-1)

split.SpatialPolygons: Divide into multiple shape objects

Description

Divide a shape object into multiple objects.

Usage

"split"(x, f, drop = FALSE, ...)
"split"(x, f, drop = FALSE, ...)
"split"(x, f, drop = FALSE, ...)

Arguments

f
factor to split x
drop
unused factor levels are dropped
...
other arguments (not used)

Value

List of shape objects.