`cir`

with `allowOverlap = TRUE`

,
`allowDuplicates = FALSE`

, `returnIndices = TRUE`

, `returnDistances = TRUE`

, and
`includeBehavior = "excludePixels"`

.
It is used inside `spread2`

, when asymmetry is active.
The basic algorithm is to run `cir`

just once, then add to the x,y coordinates of every locus.`R/neighbourhood.R`

`cirSpecialQuick.Rd`

This is a very fast version of `cir`

with `allowOverlap = TRUE`

,
`allowDuplicates = FALSE`

, `returnIndices = TRUE`

, `returnDistances = TRUE`

, and
`includeBehavior = "excludePixels"`

.
It is used inside `spread2`

, when asymmetry is active.
The basic algorithm is to run `cir`

just once, then add to the x,y coordinates of every locus.

.cirSpecialQuick(landscape, loci, maxRadius, minRadius)

landscape | Raster on which the circles are built. |
---|---|

loci | Numeric. An alternative to |

maxRadius | Numeric vector of length 1 or same length as coords |

minRadius | Numeric vector of length 1 or same length as |