R/in_progress_functions/col_index-function.R

#' 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))
  }
darrellpenta/dissertate documentation built on May 14, 2019, 6:10 p.m.