Description Usage Arguments Details Value Examples
View source: R/Creation_v0.6.R
creates a landscape with zeros in and then adds the number of patches. The result is an array with a zero background and complete numbered patches.
1 2 3 4 5 6 7 8 9 10 | CreateWorld(
SeedPoints,
PercentageCover,
Extent,
SeedDistribution = NULL,
PatchDistribution = NULL,
SecondPercentageCover = 0,
normalSD = 0.01,
paretoVal = 1
)
|
SeedPoints |
integer - number of patches |
PercentageCover |
float between 0.0 & 1.0 giving the proportion of array that should be patches. |
Extent |
integer - size of square array, defaults to 250 (large arrays take longer to create.) |
SeedDistribution |
character -a distribution from which to pick the size of patches from. Opetions are "Gaussian" or"Normal", "Pareto", or the default "Uniform". Uniform gives patches of almost any size and the maximum variation. |
PatchDistribution |
character - how seed points are distributed to grow the patches. Options are "Random" or "Poisson", "Clustered" or "Thomas", or "Regular", "Strauss" or"Dispersed" and defaults to random. |
SecondPercentageCover |
float between 0.0 & 1.0 giving the proportion of array that should be patches.If > 0 creates an additional array based on the seeds of the first with a different proportion. |
normalSD |
default = 0.01, |
paretoVal |
defulat = 1 |
It can actually return two complete numbered set of patches. The patches are the same, one just grown further along to give a larger area. Lastly it returns the buffer, that looks like an atol.
list of arrays - the list contains two or three arrays, the updated LargerWorld and an option SmallerWorld and GrowWorld. The first two are complete sets of patches, and can be of two different areas total.
1 | TBA...
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.