A RasterStack is a collection of RasterLayer objects with the same spatial extent and resolution.
A RasterStack can be created from RasterLayer objects, or from raster files, or both. The can also be created from SpatialPixels or SpatialGrid objects.