Learn R Programming

medfate (version 0.7.4)

SpatialPixelsLandscape-class: Class "SpatialPixelsLandscape"

Description

An S4 class that represents a landscape configuration over an (incomplete) grid of coordinates.

Arguments

Objects from the Class

Objects can be created by calls of the form new("SpatialPixelsLandscape", ...).

Slots

data:

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

coords.nrs:

Inherited from SpatialPointsDataFrame but not used.

grid:

Object of class "GridTopology".

grid.index:

Index of points in full grid.

bbox:

Object of class "matrix" with the boundary box.

proj4string:

Object of class "CRS" with the projection string.

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 (queen) neighbours for each cell.

Extends

Class "'>SpatialPixelsTopography", directly. Class "'>SpatialPixelsDataFrame", distance 2. Class "'>SpatialPixels", distance 3. Class "'>SpatialPointsDataFrame", distance 3. Class "'>SpatialPoints", distance 4. Class "'>Spatial", by class "SpatialPixelsTopography", distance 5.

Methods

getLCTs

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

spatialForestSummary

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

spatialSoilSummary

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

spplot

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

See Also

SpatialPixelsTopography-class, SpatialPointsLandscape-class, spatialForestSummary, forest, soil

Examples

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

Run the code above in your browser using DataLab