# NOT RUN {
getExtent(gtGeoms$polygon)
getExtent(x = gtSP$SpatialPolygons)
getExtent(x = gtSF$multilinestring)
getExtent(x = gtPPP)
getExtent(x = gtRasters$categorical)
getExtent(x = matrix(0, 3, 5))
# }
Run the code above in your browser using DataLab