R/inspect_data.R

Defines functions inspect_data

Documented in inspect_data

#' m2c2R
#' @name inspect_data
#' 
#' @author Nelson Roque, \email{Nelson.Roque@@ucf.edu}
#' 
#' @export
#' @param data Name of a tibble or data frame
#' @details This function "inspects" the data by pulling the number of rows and 
#' columns, as well as the variable names.
inspect_data <- function(data) {
  return(list(ncol=ncol(data), nrow=nrow(data), names=names(data)))
}
nelsonroque/m2c2R documentation built on Oct. 8, 2022, 7:50 a.m.