Learn R Programming

layer (version 0.0.1)

tilt_map: Tilt raster and sf data

Description

Tilt and shift maps in any direction.#'

Usage

tilt_map(
  data,
  x_stretch = 2,
  y_stretch = 1.2,
  x_tilt = 0,
  y_tilt = 1,
  x_shift = 0,
  y_shift = 0
)

Arguments

data

sf or terra/stars/raster object.

x_stretch

Stretch in x dimension

y_stretch

Stretch in y dimension

x_tilt

Tilt in x dimension

y_tilt

Tilt in y dimension

x_shift

Shift in x dimension

y_shift

Shift in y dimension

Value

sf

Details

Code adopted from https://www.mzes.uni-mannheim.de/socialsciencedatalab/article/geospatial-data/.

Examples

Run this code
# NOT RUN {
tilt_map(landscape_1)
# }

Run the code above in your browser using DataLab