R: pad to fit

pad_to_fit {rayimage} | R Documentation

## pad to fit

### Description

Pads to a rect

### Usage

    pad_to_fit(dim, kernel)

### 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

### Value

Hillshade with edges trimmed

[Package rayimage version 0.5.1 Index]