powered by
Subsets a object of the class geodata by transforming it to a data-frame, using subset and back transforming to a geodata object.
geodata
subset
# S3 method for geodata subset(x, ..., other = TRUE)
A list which is an object of the class geodata.
an object of the class geodata.
arguments to be passed to subset.data.frame.
subset.data.frame
logical. If TRUE non-standard geodata elements of the original geodata object are copied to the resulting object.
TRUE
subset for the generic function and methods and as.geodata for more information on geodata objects.
as.geodata
subset(ca20, data > 70) subset(ca20, area == 1)
Run the code above in your browser using DataLab