ip_to_cartesian: Map IP data to Cartesian coordinates
Description
These functions are used internally by coord_ip() to map
ip_address and ip_network
vectors to Cartesian coordinates. They are exposed externally to support use
of these coordinates outside of ggplot2.
An ip_network scalar that
determines the region of IP space visualized by the entire 2D grid. The
default shows the entire IPv4 address space.
pixel_prefix
An integer scalar that sets the prefix length of the
network represented by a single pixel. The default value is 16. Increasing
this effectively improves the resolution of the plot.
curve
A string to choose the space-filling curve. Choices are
"hilbert" (default) and "morton".