Learn R Programming

tweet2r (version 1.1)

t2STIDF: Create objects of class STIDF

Description

Creates an object of class STIDF from geotweets. A class for unstructured spatio-temporal data; for n spatial locations and times, n observations are available .

Usage

t2STIDF(geotweets)

Arguments

geotweets

Geotagged tweets as a SpatialPointsDataFrame.

Value

sttweets

A STDIF object.

References

Pebesma, Edzer. <U+00AB>Spacetime: Spatio-Temporal Data in R<U+00BB>. Journal of Statistical Software 51, n.<U+00BA> 7 (2012). doi:10.18637/jss.v051.i07.https://www.jstatsoft.org/article/view/v051i07

See Also

spacetime, tweet2r

Examples

Run this code
# NOT RUN {
#Create STDIF object
t2STIDF(geotweets)
# }

Run the code above in your browser using DataLab