powered by
Simulate thick margins as receptors in a landscape.
simulateThickMargins(objectL, ...)# S4 method for Landscape simulateThickMargins(objectL, border_size = 200, prob = runif(1, 0.1, 0.9), mean_thickness = runif(1, 2, 20), v_thickness = 50)
# S4 method for Landscape simulateThickMargins(objectL, border_size = 200, prob = runif(1, 0.1, 0.9), mean_thickness = runif(1, 2, 20), v_thickness = 50)
A Landscape object
other parameters
A numeric, bbox margin
Probability to inflate a margin
Margin width expectation in meter
Margin width variance in meter
a Landscape object with fields margin as receptor
Margin width use a Gamma distribution with shape and scale parameters based on thickness mean and variance.
simulateInitialPartition and simulateLandscape
# NOT RUN { data(maize_65) plot(maize.landscape) landscape.margin <- simulateThickMargins(maize.landscape) plot(landscape.margin) # }
Run the code above in your browser using DataLab