Description Usage Arguments Details Value See Also Examples
View source: R/Landscape_Methods.R
Simulate thick margins as receptors in a landscape.
1 2 3 4 5 6 7 | simulateThickMargins(
objectL,
border_size = 200,
prob = runif(1, 0.1, 0.9),
mean_thickness = runif(1, 2, 20),
v_thickness = 50
)
|
objectL |
sf, sp or Landscape (earlier version of briskaR). |
border_size |
A numeric, bbox margin |
prob |
Probability to inflate a margin |
mean_thickness |
Margin width expectation in meter |
v_thickness |
Margin width variance in meter |
Margin width use a Gamma distribution with shape and scale parameters based on thickness mean and variance.
A SpatialPolygonsDataFrame object
simulateInitialPartition and simulateLandscape
1 2 3 4 5 6 | ## Not run:
data(maize_65)
plot(maize.landscape)
landscape.margin <- simulateThickMargins(maize.landscape)
plot(landscape.margin)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.