extract_numeric: Extract numeric values

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Extract numeric values from x

Usage

1

Arguments

x

object containing numeric (and other) values

Value

Numeric values from the object

Examples

1
extract_numeric(c("7+5", "abc123")) ## c(75, 123)

dateutils documentation built on Nov. 10, 2021, 5:09 p.m.