Description Usage Arguments Value Examples
Given a set of points (x,y), create a circular habitat centred on
each point, with value inside
within dist.inside
and value outside
otherwise.
1 2 | ## S3 method for class 'habitat'
points(x, y, pts, dist.inside, inside = 1, outside = 0.8)
|
x |
x coordinate |
y |
y coordinate |
pts |
Two column matrix or dataframe of x and y coordinates for a set of points |
dist.inside |
Distance from each point to set value |
inside |
Value to set for locations within |
outside |
Value to set for locations further than |
Habitat value for each location. This function is used in conjunction with
as.im
to produce an image that defines the habitat.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.