Description Usage Arguments Details Value References See Also Examples
View source: R/nlm_edgegradient.R
Simulates an edge-gradient neutral landscape model.
1  | nlm_edgegradient(ncol, nrow, resolution = 1, direction = NA, rescale = TRUE)
 | 
ncol | 
 [  | 
nrow | 
 [  | 
resolution | 
 [  | 
direction | 
 [  | 
rescale | 
 [  | 
Simulates a linear gradient orientated on a specified or random direction that has a central peak running perpendicular to the gradient direction.
RasterLayer
Travis, J.M.J. & Dytham, C. (2004) A method for simulating patterns of habitat availability at static and dynamic range margins. Oikos, 104, 410–416.
nlm_distancegradient,
nlm_planargradient
1 2 3 4 5 6 7 8  | # simulate random curdling
edge_gradient <- nlm_edgegradient(ncol = 100, nrow = 100, direction = 80)
## Not run: 
# visualize the NLM
landscapetools::show_landscape(edge_gradient)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.