Learn R Programming

geocausal (version 0.4.0)

get_elev: Get elevation data

Description

`get_elev()` takes a directory that hosts shapefile and returns an owin object of altitudes.

Usage

get_elev(load_path, ...)

Value

an im object (unit: meters)

Arguments

load_path

path to the shp file (note: a folder)

...

other parameters passed to `elevatr::get_elev_raster()`. The resolution argument z must be specified.