Learn R Programming

gghilbertstrings (version 0.3.3)

hilbertd2xy: Hilbert conversion, distance to coordinates

Description

Hilbert conversion, distance to coordinates

Usage

hilbertd2xy(n, d)

Arguments

n

Size (must be a 2^k value, such as 4,8,16,32)

d

A vector of values to be converted to coordinates (starts with 0)

Value

Tibble with columns x and y

Examples

Run this code
# NOT RUN {
hilbertd2xy(64,31)
# }

Run the code above in your browser using DataLab