Description Usage Arguments Value Examples
View source: R/rotate_raster.R
Rotates the detrended DEM according to the main direction of the Fourier spectrum
1 | rotate_raster(rstr, ang_fourier)
|
rstr |
a |
ang_fourier |
|
a matrix
corresponding to the DEM rotated in the main direction of the Fourier spectrum
1 2 3 4 | r <- raster::raster(ncol = 3, nrow = 3)
raster::values(r) <- 1:(raster::ncell(r))
raster::as.matrix(r)
raster::as.matrix(rotate_raster(r, 45))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.