Raster data is used for continuous data and stores data in a grid-like arrangement. Raster is good for measuring continuous features such as elevation, vegetation, and so on.
Now, in the next section, we will have a look at how to work with different vector data in R, starting with point data.