theatmap: Plot a heat map from geotweets or SpatialPointsDataFrame

Description Usage Arguments Details Note Author(s) See Also Examples

Description

Plot a heat maps base o 2d density estimation

Usage

1
theatmap(geotweets, vpoints=FALSE)

Arguments

geotweets

Geotagged tweets as a SpatialPointsDataFrame or a SpatialPointsDataFrame.

vpoints

By default FALSE. TRUE option will plot tweets points over the density map.

Details

This function is base on ggmap. It is a fast way to plot a density map, actually it can work with any SpatialPointsDataFrame. To customize your output, more information is available in the ggmap documentation page https://cran.r-project.org/package=ggmap

Note

It works only with small region if you have tweets for all over the world it won't work properly. To get a subsample of the geotweets for a specific region use tsubset.

Author(s)

Pau Arago

See Also

tsubset, tweet2r, ggmap

Examples

1
2
3
4
## Not run: 
theatmap(geotweets)

## End(Not run)

tweet2r documentation built on May 2, 2019, 2:34 a.m.