Learn R Programming

rayshader (version 0.35.7)

add_multi_padding: add_multi_padding

Description

Adds multiple levels padding to the matrix

Usage

add_multi_padding(heightmap, pad = 1)

Value

Hillshade with edges padded

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