Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

subset.geodata

Method for subsetting geodata objects


Description

Subsets a object of the class geodata by transforming it to a data-frame, using subset and back transforming to a geodata object.

Usage

## S3 method for class 'geodata'
subset(x, ..., other = TRUE)

Arguments

x

an object of the class geodata.

...

arguments to be passed to subset.data.frame.

other

logical. If TRUE non-standard geodata elements of the original geodata object are copied to the resulting object.

Value

A list which is an object of the class geodata.

See Also

subset for the generic function and methods and as.geodata for more information on geodata objects.

Examples

subset(ca20, data > 70)
subset(ca20, area == 1)

geoR

Analysis of Geostatistical Data

v1.8-1
GPL (>= 2)
Authors
Paulo J. Ribeiro Jr [aut, cre] <paulojus@ufpr.br>, Peter J. Diggle [aut, cre] <p.diggle@lancaster.ac.uk> Ole Christensen [ctb], Martin Schlather [ctb], Roger Bivand [ctb], Brian Ripley [ctb]
Initial release
2020-02-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.