nlm_planargradient.Rd
Simulates a planar gradient neutral landscape model.
nlm_planargradient(ncol, nrow, resolution = 1, direction = NA, rescale = TRUE)
ncol | [ |
---|---|
nrow | [ |
resolution | [ |
direction | [ |
rescale | [ |
RasterLayer
Simulates a linear gradient sloping in a specified or random direction.
Palmer, M.W. (1992) The coexistence of species in fractal landscapes. The American Naturalist, 139, 375 - 397.
# simulate planar gradient planar_gradient <- nlm_planargradient(ncol = 200, nrow = 200)# NOT RUN { # visualize the NLM landscapetools::show_landscape(planar_gradient) # }