Skip to content
Snippets Groups Projects
coerce_string_to_numeric.Rd 478 B
Newer Older
  • Learn to ignore specific revisions
  • % Generated by roxygen2: do not edit by hand
    % Please edit documentation in R/utils.R
    \name{coerce_string_to_numeric}
    \alias{coerce_string_to_numeric}
    \title{coerce_string_to_numeric}
    \usage{
    
    coerce_string_to_numeric(obj)
    
    \item{obj}{object: Any object}
    
    numeric if \code{obj} was a string, else unchanged \code{obj}
    
    If an object is of type string, coerces it to a numeric type
    
    \examples{
      coerce_string_to_numeric("12  54 2    \n 2")
    }