Learn R Programming

tweet2r (version 1.1)

theatmap: Plot a heat map from geotweets or SpatialPointsDataFrame

Description

Plot a heat maps base o 2d density estimation

Usage

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

See Also

tsubset, tweet2r, ggmap

Examples

Run this code
# NOT RUN {
theatmap(geotweets)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab