R/RcppExports.R

Defines functions guess_vector_type

Documented in guess_vector_type

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#' @title Guess Vector Type
#'
#' @description Function analyses content of a factor vector and attempts to
#'   guess the correct type.
#'
#' @param x A vector of factor class.
#'
#' @return A scalar string with class name.
#'
#' @section Acknowledgements:
#' The initial version of this function was posted and discussed on
#'   \href{https://stackoverflow.com/q/52943081/1655567}{StackOverflow}.
#'
#' @export
#'
guess_vector_type <- function(x) {
    .Call(`_KEmisc_guess_vector_type`, x)
}
konradedgar/KEmisc documentation built on April 15, 2021, 1:50 p.m.