R/getAttributeNames.R

Defines functions getAttributeNames

Documented in getAttributeNames

#' Helper function for determining the vector of attribute names
#' of a given object.
#'
#' @param obj [any]\cr
#'   Source object.
#' @return [\code{character}]
#'   Vector of attribute names for the source object.
#' @export
getAttributeNames = function(obj) {
  names(attributes(obj))
}
berndbischl/BBmisc documentation built on Jan. 6, 2023, 12:32 p.m.