plot.terrain: Plot terrain

View source: R/plot.R

plot.terrainR Documentation

Plot terrain

Description

Plot terrain

Usage

## S3 method for class 'terrain'
plot(x, ...)

Arguments

x

a terrain object

...

additional arguments passed on to plot method for spatRaster

Details

See terra's plot function for additional arguments.

Examples

library(terra)

fn <- system.file("extdata/red_butte_dem.tif", package = "hiker")
red_butte_dem <- rast(fn)

terrain <- hf_terrain(red_butte_dem)

# plot(terrain, main = "Travel Cost")

kbvernon/hiker documentation built on Dec. 9, 2022, 11:16 p.m.