buffeRs will create non-standard buffer geometries around an input point (created by the sf
package), and has the following functions:
buffer_wedge()
creates a wedge-shaped geometrybuffer_semicircle()
creates a semicircular geometrybuffer_windrose()
creates a windrose shaped geometrybuffer_rectangle()
creates a rectangular shaped geometrybuffer_square()
creates a square shaped geometryOne example would be to build a wedge-shaped buffer with buffer_wedge()
.
library(buffeRs)
example(buffer_wedge)
We can also create a different wedge, like this:
buffer_wedge(point = example_point, radius = 200, degree = 227, degree_width = 25) -> example_wedge2
plot(example_wedge2)
Other geometries are similarly straightfoward, and all functions have parameters to change the radius and the angle of the object.
buffer_windrose()
is more complex, and requires the input of a wind frequency table, in the format provided by openair::windRose()$data
example(buffer_windrose)