#' Create empty matrix with dimnames
#'
#' @param data Data for array.
#' @param ... dimnames.
#'
#' @export
empty_array <- function(..., data = NA) {
dimnames <- list(...)
dim <- sapply(dimnames, length)
return(array(data = data, dim = dim, dimnames = dimnames))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.