grid_line {jpgrid} | R Documentation |
Draw line segments between grid square codes
Description
If grid
and grid_to
are both vectors, the line between
grid
and grid_to
is drawn (using Bresenham's line algorithm).
If grid
is a list, The path lines for each element in the grid will be
drawn.
Usage
grid_line(grid, grid_to = NULL, close = FALSE, skip_na = FALSE)
Arguments
grid |
A |
grid_to |
A |
close |
Should the path of each element be closed when |
skip_na |
Should skip the |
Value
A list of grid
vectors.
[Package jpgrid version 0.4.0 Index]