zb_lines: Create lines radiating at equal angles from a point

View source: R/zb_lines.R

zb_linesR Documentation

Create lines radiating at equal angles from a point

Description

Create lines radiating at equal angles from a point

Usage

zb_lines(point, n, starting_angle = 45, distance = 1e+05)

Arguments

point

Center point

n

Number of lines

starting_angle

Starting angle

distance

Distance

Value

Objects of class 'sfc' containing linestring geometries

Examples

point = sf::st_centroid(london_a())
n = 4
l = zb_lines(point, n)
plot(l)

zonebuilders/zonebuilder documentation built on June 13, 2024, 9:34 p.m.