Learn R Programming

terra (version 0.4-3)

SpatRaster-class: SpatRaster class

Description

A raster is a database organized as a rectangular grid that is sub-divided into rectangular cells of equal area (in terms of the units of the coordinate reference system) and layers.

An object of the SpatRaster class can point to one or more files on disk that holds the values of the raster cells, or hold these values in memory. Or it can not have any associated values at all.

Objects can be created with the rast function.

This package defines the SpatRaster "S4 class" to manipulate such data. The R object only contains a pointer to the C++ class "Rcpp_SpatRaster".

Arguments

Objects from the Class

Objects can be created with the rast function.

Slots

Slots for SpatRaster objects

ptr:

pointer to the C++ class

Examples

Run this code
# NOT RUN {
rast()
# }

Run the code above in your browser using DataLab