powered by
convert a variable with string type into a numeric value
destring(varlist)
variables to convert, in the form "var1 var2 var3" or, if a single variable, an unquoted variable will work as well (i.e. var1).
returns NULL, invisibly
# NOT RUN { use(cars, clear=TRUE) tostring(speed) listif() describe() destring(speed) listif() describe() # }
Run the code above in your browser using DataLab