create_coordinates: Function to create coordinates for a Hilbert Curve This...

Description Usage Arguments Value Examples

View source: R/create_coordinates.R

Description

Function to create coordinates for a Hilbert Curve This functions adds three columns to a data frame: reld, x, y

Usage

1

Arguments

df

the dataframe to use

idcol

the column to use for mapping

Value

a data frame with three additional columns

Examples

1
mtcars %>% tibble::rownames_to_column() %>% create_id_column(rowname) %>% create_coordinates(gghid)

gghilbertstrings documentation built on April 7, 2021, 9:07 a.m.