tidyr (version 0.1)

extract_numeric: Extract numeric component of variable.

Description

Extract numeric component of variable.

Usage

extract_numeric(x)

Arguments

x
A character vector (or a factor).

Examples

Run this code
extract_numeric("$1,200.34")

Run the code above in your browser using DataLab