Make SpatialPolygons ellipses
sp_ellipses(
xcenter,
ycenter,
setnames = NULL,
xradius = 1,
yradius = 2,
rotation_degrees = c(0),
n = 60,
...
)
numeric
vector that defines the x and y
coordinate position of the center of each ellipse.
vector
that contains names for each ellipse, stored
in the sp::SpatialPolygons
object as the polygon name. When
setnames
is NULL
then integer index positions are used.
numeric
vector that defines the radius
of each ellipse along the x-axis and y-axis, respectively.
Each vector
is recycled to length(xcenter)
.
integer
value indicating the number of subdivisions to
use in the circle.
additional arguments are ignored.
numeric
vector representing degrees to
rotate each ellipse after it is created, where values are
conformed to between 0
and 360
, rotating clockwise.
object sp::SpatialPolygons
with a number of ellipses
defined by length(xcenter)
.
This function creates one or more ellipses as
sp::SpatialPolygons
objects.
Other venndir spatial:
degrees_to_adj()
,
diff_degrees()
,
display_angles()
,
get_largest_polygon()
,
get_sp_buffer()
,
intersect_polygons()
,
mean_degree_arc()
,
mean_degrees()
,
nudge_sp()
,
rescale_coordinates()
,
rescale_sp()
,
sp_circles()
,
spread_degrees()
,
union_polygons()