Subset Data from an Imported and Formatted Shape File
# S3 method for shapeCarcass
subset(x, subset, select, ...)# S3 method for shapeLayout
subset(x, subset, select, ...)
object of the same class as x
, subsetted to values of select
equal to some element in subset
.
object to be subsetted
values to subset by. For example, to subset x
to include
only turbines "t1"
and "t2"
, then subset = c("t1", "t2")
.
The name of the column with turbine names is given in select
.
the name of the column with the values to subset by. For example,
to subset x
by turbines names "t1" and "t2" as found in the "turbine"
column in the data, use select = "turbine"
and subset = c("t1", "t2")
.
ignored