auxiliary | R Documentation |
These methods are low-level functions called by other procedures of
geoGraph
. Some can, however, be useful in themselves. Note that
unlike other functions in geoGraph
, these functions do not generally
test for the validity of the provided arguments (for speed purposes).
hasCosts(x)
geo.segments(
x0,
y0,
x1,
y1,
col = graphics::par("fg"),
lty = graphics::par("lty"),
lwd = graphics::par("lwd"),
...
)
x |
a valid gGraph. |
x0 , y0 |
coordinates of points from which to draw. |
x1 , y1 |
coordinates of points to which to draw. |
col |
a character string or an integer indicating the color of the segments. |
lty |
a character string or an integer indicating the type of line. |
lwd |
an integer indicating the line width. |
... |
further graphical parameters (from 'par') passed to the
|
hasCosts
: tests whether a gGraph has costs associated
to its edges.
geo.segments
: a substitute to segments
which correctly draws
segments between locations distant by more than 90 degrees of longitude.
rebuild
: in development.
For hasCost
, a logical value is returned. geo.segments
returns NULL.
hasCosts(worldgraph.10k)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.