Description Usage Arguments Details Value See Also
View source: R/generatelocations.R
makes it easier to define landscapes, if you are just interested in a random landscape with certain qualities
1 | landscape.generate.locations(npop = 10, xrange = c(0, 15000), yrange = xrange, sizexkernel = c(300, 80), sizeykernel = sizexkernel, boundaries = NULL)
|
npop |
number of habitats to define |
xrange |
the low and high bounds for a landscape's x coordinates (stay positive) |
yrange |
the low and high bounds for a landscape's y coordinates (stay positive) |
sizexkernel |
mean and sd for a normal distribution defining the x-dimension of habitats |
sizeykernel |
mean and sd for a normal distribution defining the y-dimension of habitats |
boundaries |
another way to define boundaries for landscape. |
Chooses x and y coordinates for rectangles from a uniform distribution with limits given by the *range parameters. The x and y sizes of the habitats are governed by pulls from normal distributions
a matrix with columns 1=leftx x coordinates, 2=bottom y coordinates, 3=right x coordinates, 4=top y coordinates. The row number is equal to the number of habitats (npop
)
landscape.new.epoch()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.