View source: R/neighbourhood.R

This is a very fast version of cir with allowOverlap = TRUE, allowDuplicates = FALSE, returnIndices = TRUE, returnDistancse = TRUE, and includeBehaviour = "excludePixels". It is used inside spread2, when asymmetry is active. The basic algorithm is to run cir just once, then add to the xy coordinates of every locus

1 | ```
.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 |

SpaDES.tools documentation built on Feb. 2, 2018, 1 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.