n_segments | R Documentation |
Vectorised function to calculate number of segments given a max segment length
n_segments(line_length, max_segment_length)
line_length |
The length of the line |
max_segment_length |
The maximum length of each segment |
Other lines:
angle_diff()
,
geo_toptail()
,
is_linepoint()
,
line2df()
,
line2points()
,
line_bearing()
,
line_breakup()
,
line_midpoint()
,
line_segment()
,
line_segment1()
,
line_via()
,
mats2line()
,
n_vertices()
,
onewaygeo()
,
points2line()
,
toptail_buff()
n_segments(50, 10)
n_segments(50.1, 10)
n_segments(1, 10)
n_segments(1:9, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.