Description Usage Arguments Value Author(s) See Also Examples
Functions to calculates a summary function for the forest or soil of all cells in a SpatialPointsLandscape-class
or SpatialGridLandscape-class
.
1 2 | spatialForestSummary(object, summaryFunction, ...)
spatialSoilSummary(object, summaryFunction, ...)
|
object |
An object of class |
summaryFunction |
A function that accepts objects of class |
... |
Additional arguments to the summary function. |
An object of class SpatialPointsDataFrame
, SpatialPixelsDataFrame
or SpatialGridDataFrame
, depending on the input, containing the calculated statistics.
Miquel De Cáceres Ainsa, Centre Tecnologic Forestal de Catalunya.
1 2 3 4 5 6 7 8 9 10 11 12 | library(medfate)
#Load plot data and species parameters from medfate
data(exampleSPL)
data(SpParamsMED)
#Apply summary function
y <- spatialForestSummary(exampleSPL,summary.forest, SpParamsMED)
head(y@data)
#Plot basal area
spplot(y["BA"])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.