Learn R Programming

rayshader (version 0.37.3)

trim_padding: trim_padding

Description

Trims padding

Usage

trim_padding(heightmap, pad = 1)

Value

Hillshade with edges trimmed

Arguments

heightmap

A two-dimensional matrix, where each entry in the matrix is the elevation at that point. All points are assumed to be evenly spaced.

pad

Number of padding entries