Description Usage Arguments Details Value Author(s) See Also Examples
Function SpatialPointsTopography
creates an object of class SpatialPointsTopography-class
containing topographic variables for a set of points.
1 2 | SpatialPointsTopography(points, elevation, slope = NULL, aspect = NULL,
proj4string = CRS(as.character(NA)))
|
points |
An object of class |
elevation |
Elevation values (in m) of the points. |
slope |
Slope values (in degrees) of the points. |
aspect |
Aspect values (in degrees from North) of the points. |
proj4string |
Object of class |
If either slope = NULL
or aspect = NULL
then when estimating weather on the object locations radiation will be calculated assuming a flat surface.
Function SpatialPointsTopography
returns an object 'SpatialPointsTopography-class
'.
Miquel De Cáceres Ainsa, Biodiversity and Landscape Ecology Laboratory, Centre Tecnologic Forestal de Catalunya
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(examplegridtopography)
#Creates spatial topography points from the grid
p = 1:2
points = as(examplegridtopography,"SpatialPoints")[p]
spt = SpatialPointsTopography(points, examplegridtopography$elevation[p],
examplegridtopography$slope[p],
examplegridtopography$aspect[p])
spt
#Alternatively, use coercing and subsetting
spt = as(examplegridtopography, "SpatialPointsTopography")[p]
spt
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.