#' The names of a dataframe column in a numbered matrix
#'
#'
#' For convenience.
#'
#' @param X A dataframe.
#' @return A numbered matrix of columnames.
#' @rdname col_index
#' @export
col_index <- function(X) {
matrix(names(X))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.