R/obj2str.R

Defines functions obj2str

Documented in obj2str

#' object to string
#'
#' This function takes an R object and converts it to a string
#' @param obj object to transform
#' @keywords helper function
#' @export
#' @examples obj2str(objectname)
#' obj2str()
#####changes object to string
obj2str <- function(obj) {
  return(deparse(substitute(obj)))
}
hamsamilton/cgms.analysis documentation built on March 29, 2020, 12:57 a.m.