tsubset: Subset points from geotweets or SaptialPointsDataFrame

Description Usage Arguments Author(s) Examples

Description

This function do a subset points over a polygon defined by a SpatialPolygonsDataFrame. Takes the poins within the Polygon and remove the points outside it.

Usage

1
tsubset(geotweets, pbox, transform=TRUE)

Arguments

geotweets

input Geotagged tweets as a SpatialPointsDataFrame.

pbox

A SpatialPolygonsDataFrame to get the opoints over it.

transform

Option TRUE by default to transform the pbox CRS (Cordinate Reference System) to geotweets CRS.

Author(s)

Pau Aragó

Examples

1
2
3
4
5
6
## Not run: 
tweetsSubset<-tsubset(geotweets, pbox)

## End(Not run)
{
  }


Search within the tweet2r package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.