Learn R Programming

medfate (version 0.7.4)

SpatialGridLandscape-class: Class "SpatialGridLandscape"

Description

An S4 class that represents a landscape configuration over a grid of coordinates.

Arguments

Objects from the Class

Objects can be created by calls of the form new("SpatialGridLandscape", ...), or by calls to the function SpatialGridLandscape.

Slots

grid:

Object of class "GridTopology".

bbox:

Object of class "matrix" with the boundary box.

proj4string:

Object of class "CRS" with the projection string.

data:

Object of class "data.frame" containing the elevation (in m), slope (in degrees) and aspect (in degrees from North) of every cell.

lct:

A character vector of land cover type for each cell. Values allowed are: 'wildland', 'agriculture', 'rock' and 'static'.

forestlist:

Object of class "list" containing a set of forest objects.

soillist:

Object of class "list" containing a set of soil objects.

waterOrder:

A numeric vector of cell processing order.

waterQ:

A list of water discharge values to neighbours.

queenNeigh:

A list of neighbours for each cell.

Extends

Class "'>SpatialGridTopography", directly. Class "'>SpatialGridDataFrame", distance 2. Class "'>SpatialGrid", distance 3. Class "'>Spatial", by class "SpatialGrid", distance 4.

Methods

getLCTs

signature(object = "SpatialGridLandscape"): returns a SpatialGridDataFrame with the land cover types of the landscape cells.

spatialForestSummary

signature(object = "SpatialGridLandscape"): calculates a summary function for all forest stands and returns an object of class SpatialGridDataFrame-class.

spatialSoilSummary

signature(object = "SpatialGridLandscape"): calculates a summary function for the soil of all stands and returns an object of class SpatialGridDataFrame-class.

spplot

signature(object = "SpatialGridLandscape"): allows plotting maps of the landscape state.

See Also

SpatialGridTopography-class, SpatialPointsLandscape-class, spatialForestSummary, forest, soil

Examples

Run this code
# NOT RUN {
#Structure of the S4 object
showClass("SpatialGridLandscape")
# }

Run the code above in your browser using DataLab