NLMR 包装
# simulate polygonal landscapes mosaicgibbs <- NLMR::nlm_mosaicgibbs(ncol = 100, nrow = 100, germs = 20, R = 2, patch_classes = 3) # visualize the NLM rasterVis::levelplot(mosaicgibbs, margin = FALSE, par.settings = rasterVis::viridisTheme())
我试过了 set.seed(123) 但没用。 E。
set.seed(123)
我不确定这是否对你有帮助,但我不能只是发表评论。在 nlm_gaussianfield()
nlm_gaussianfield()
nlm_gaussianfield(nrow=10,ncol=10,user_seed=123)
默认值是 NULL nlm_mosaicgibbs() 也。祝你好运!
NULL
nlm_mosaicgibbs()