grain: Artificial raster dataset representing grain sizes

Description Usage Format Examples

Description

The ratified raster dataset represents grain sizes with the three classes clay, silt and sand, and WGS84 as a coordinate reference system.

Usage

1

Format

An object of class RasterLayer of dimension 6 x 6 x 1.

Examples

1
2
3
4
5
if (requireNamespace("raster", quietly = TRUE)) {
  library(raster)
  data(grain)
  grain
}

Example output

To access larger datasets in this package, install the spDataLarge
package with: `install.packages('spDataLarge',
repos='https://nowosad.github.io/drat/', type='source')`
Loading required package: sp
class       : RasterLayer 
dimensions  : 6, 6, 36  (nrow, ncol, ncell)
resolution  : 0.5, 0.5  (x, y)
extent      : -1.5, 1.5, -1.5, 1.5  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=longlat +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0 
data source : in memory
names       : layer 
values      : 1, 3  (min, max)
attributes  :
 ID VALUE
  1  clay
  2  silt
  3  sand

spData documentation built on Oct. 14, 2021, 5:06 p.m.