raster_slope: Wrapper for 'raster::terrain' for calculating slope on...

Description Usage Arguments Value Examples

View source: R/raster_slope.R

Description

This is a wrapper around raster::terrain with opt="slope", to calculate topographic slope on stars objects without needing to convert to and from a Raster* object.

Usage

1

Arguments

x

A stars object

Value

A stars object with the slope values, in decimal degrees

Examples

1
2
3
4
5

michaeldorman/geobgu documentation built on Jan. 6, 2021, 3:57 p.m.