R/get_names.R

Defines functions get_names

Documented in get_names

#' Get Names of Object
#' @description Return the names of input. For example: if you input a, you will get 'a'.
#' @param ... any type of data object
#'
#' @return names of object
#' @export
#'
#' @examples
#' a=c(1,2,3)
#' get_names(a,mtcars)
get_names <- function(...) {
    as.character(eval(substitute(alist(...))))
}

Try the do package in your browser

Any scripts or data that you put into this service are public.

do documentation built on Aug. 3, 2021, 5:06 p.m.