View source: R/in_circle_function.R
in_circle | R Documentation |
Function that checks for each X-Y-coordinate pair, whether the point lies in a circle of a given center and radius. Works with single numbers or matrices of X- and Y-coordinates as input.
in_circle(Xcor, Ycor, Xctr, Yctr, radius)
Xcor |
X-coordinate of the point |
Ycor |
Y-coordinate of the point |
Xctr |
X-coordinate of the circle center |
Yctr |
Y-coordinate of the circle center |
radius |
...of the circle |
boolean or matrix of booleans
Nikolai Knapp
in progress
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.