Learn R Programming

medfate (version 0.2.2)

SpatialGridForest-class: Class "SpatialGridForest"

Description

An S4 class that represents a set of forest stands located over a grid of coordinates.

Arguments

Objects from the Class

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

Slots

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.

data:

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

grid:

Object of class "GridTopology".

bbox:

Object of class "matrix" with the boundary box.

proj4string:

Object of class "CRS" with the projection string.

Extends

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

Methods

getLCTs

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

spatialForestSummary

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

spatialSoilSummary

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

spplot

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

See Also

SpatialGridTopography-class, SpatialPointsForest-class, spatialForestSummary, forest, soil

Examples

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

Run the code above in your browser using DataLab