R/num.R

#' Wrapper for as.numeric()
#'
#' This function is just a shortcut to as.numeric().
#' @param x An object to convert to numeric
#' @keywords as.numeric
#' @export
#' @examples
#' str(num("2"))

num <- function(x) as.numeric(x)
Thie1e/convenience documentation built on May 9, 2019, 4:40 p.m.