# NOT RUN {
# simulate neighborhood model
neigh_raster <- nlm_neigh(ncol = 50, nrow = 50, p_neigh = 0.7, p_empty = 0.1,
categories = 5, neighbourhood = 4)
# }
# NOT RUN {
# visualize the NLM
landscapetools::show_landscape(neigh_raster)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab