Usage Arguments Value Examples
1 2 | CheckPlotsOverlap(x_coords, y_coords, angles = NULL, shape = c("circle",
"rectangle"), size = c(10, 10), distance = 0)
|
x_coords |
vector of x coordinates of the plots center. |
y_coords |
vector of x coordinates of the plots center. |
angles |
vector of the orientation angles of the plots center. |
shape |
a character string. Two shapes are possible: "rectangle" and "circle" |
size |
numeric vector. For ”rectangle” the dimension of x and y sidesand for ”circle” the radius size. |
distance |
numeric value. The minimum distance among plots |
A list of the plots with their overlapping plots
1 2 3 4 5 6 7 8 | ## Not run:
x <- sample(seq(0, 1000), 50)
y <- sample(seq(0, 1000) , 50)
radius <- 10
overlap <- CheckPlotsOverlap(x, y, shape = "circle", size = radius, distance = 10)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.