Nothing
#Rcpp::sourceCpp("src/code.cpp")
#' Hilbert conversion, distance to coordinates
#'
#' @param n Size (must be a 2^k value, such as 4,8,16,32)
#' @param d A vector of values to be converted to coordinates (starts with 0)
#'
#' @return Tibble with columns x and y
#' @export
#'
#' @examples
#' hilbertd2xy(64,31)
hilbertd2xy <- function(n,d){
m <- d2xy2(n, d)
res <- tibble::as_tibble(m, .name_repair = "minimal")
names(res) <- c("x", "y")
res
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.