This function will calculate the slasp vector for given slope and aspect values.
The slasp vector is needed for the bioclimate calculation.
Input
parameter | description | type |
---|---|---|
slopeFile | path to the slope file | String |
aspectFile | path to the aspect file | String |
studyArea | A StudyArea object. Obtained with getStudyArea()
|
StudyArea |
Output
Returns a data.frame
with the columns: lon
, lat
, slope
, aspect
and slasp
Notes
- slope and aspect file must be readable with the raster package
- data should be given in degrees